Change misleading error message for invalid size= value
[fio.git] / init.c
diff --git a/init.c b/init.c
index 382fa1ff6de82edc9d74644edcace6a7f233839e..36feb513db122183166bc86ea38ae6631cde4a2f 100644 (file)
--- a/init.c
+++ b/init.c
@@ -822,7 +822,8 @@ static int fixup_options(struct thread_data *td)
         * If size is set but less than the min block size, complain
         */
        if (o->size && o->size < td_min_bs(td)) {
-               log_err("fio: size too small, must be larger than the IO size: %llu\n", (unsigned long long) o->size);
+               log_err("fio: size too small, must not be less than minimum block size: %llu < %u\n",
+                       (unsigned long long) o->size, td_min_bs(td));
                ret = 1;
        }