diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_write_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_write_cache.c b/test/test_write_cache.c index 137cb8d..fa80327 100644 --- a/test/test_write_cache.c +++ b/test/test_write_cache.c @@ -160,7 +160,7 @@ static void test_fs(char *mountpoint) { assert(read(fd, buf, dsize) == dsize); close(fd); - assert(snprintf(fname, PATH_MAX, "%s/write_me", + assert(snprintf(fname, PATH_MAX, "%s/" FILE_NAME, mountpoint) > 0); fd = open(fname, O_WRONLY); if (fd == -1) { |