Fixup posix_fallocate() usage
[fio.git] / init.c
diff --git a/init.c b/init.c
index 56a1d331625ae6804bb92540a36551bd4a855d34..71fe4be51bdc63acdbc6f6f36cf082dd9195d27a 100644 (file)
--- a/init.c
+++ b/init.c
@@ -307,7 +307,7 @@ static int fixup_options(struct thread_data *td)
        }
 
        if (o->fill_device && !o->size)
-               o->size = ULONG_LONG_MAX;
+               o->size = -1ULL;
 
        if (td_rw(td) && td->o.verify != VERIFY_NONE)
                log_info("fio: mixed read/write workload with verify. May not "
@@ -916,7 +916,7 @@ static int set_debug(const char *string)
        return 0;
 }
 #else
-static void set_debug(const char *string)
+static int set_debug(const char *string)
 {
        log_err("fio: debug tracing not included in build\n");
        return 1;