Re-tab some parts of README
[fio.git] / init.c
diff --git a/init.c b/init.c
index bce284664c8f2e965f19e8db16dd3f813cc0d360..4ce57a4f3dc4e7a7814a10d4eb05ffa22f3047a3 100644 (file)
--- a/init.c
+++ b/init.c
@@ -248,7 +248,7 @@ static int fixed_block_size(struct thread_options *o)
 static int fixup_options(struct thread_data *td)
 {
        struct thread_options *o = &td->o;
-       int ret;
+       int ret = 0;
 
 #ifndef FIO_HAVE_PSHARED_MUTEX
        if (!o->use_thread) {
@@ -381,7 +381,7 @@ static int fixup_options(struct thread_data *td)
                                "pre-populated the file\n");
                        ret = warnings_fatal;
                }
-               if (td_write(td) && o->numjobs > 1) {
+               if (td_write(td) && o->do_verify && o->numjobs > 1) {
                        log_info("Multiple writers may overwrite blocks that "
                                "belong to other jobs. This can cause "
                                "verification failures.\n");