Make it work on opensolaris
[fio.git] / init.c
diff --git a/init.c b/init.c
index 12913615d21874619129514e59b138e60518e555..00eb592bef7fadddc1314a77658b26c2637475de 100644 (file)
--- a/init.c
+++ b/init.c
@@ -19,7 +19,7 @@
 #include "smalloc.h"
 #include "filehash.h"
 
-static char fio_version_string[] = "fio 1.21-rc2";
+static char fio_version_string[] = "fio 1.21-rc3";
 
 #define FIO_RANDSEED           (0xb1899bedUL)
 
@@ -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 "