summaryrefslogtreecommitdiffstats
path: root/test-file-zero-alloc-speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-file-zero-alloc-speed.c')
-rw-r--r--test-file-zero-alloc-speed.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test-file-zero-alloc-speed.c b/test-file-zero-alloc-speed.c
index 10c3a18..73a7975 100644
--- a/test-file-zero-alloc-speed.c
+++ b/test-file-zero-alloc-speed.c
@@ -58,7 +58,6 @@ int do_posix_fallocate(char *name, off_t len)
return 0;
}
-#if 1
int do_fallocate(char *name, off_t len)
{
int r, fd;
@@ -86,7 +85,6 @@ int do_fallocate(char *name, off_t len)
return 0;
}
-#endif
int do_mmap(char *name, off_t len)
{
@@ -168,7 +166,7 @@ int do_write_chunks(char *name, off_t len, size_t chunk_size)
int main(int argc, char **argv)
{
char *basename;
- char *filename;
+ char filename[200];
if (argc < 2) {
printf("usage: %s base-dir\n", argv[0]);