Fix error message in zpios

The chunksize must always be strictly smaller than the regionsize.

Signed-off-by: Andrew Uselton <andrew.c.uselton@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2072
This commit is contained in:
Patrik Greco 2014-01-24 19:19:34 +01:00 committed by Brian Behlendorf
parent 01b738f457
commit 2278381ce2

View File

@ -568,8 +568,8 @@ run_region_sizes(cmd_args_t *args)
while (rc == 0 && get_next(&args->current_S, &args->S)) { while (rc == 0 && get_next(&args->current_S, &args->S)) {
if (args->current_S < args->current_C) { if (args->current_S < args->current_C) {
fprintf(stderr, "Error: in any run chunksize can " fprintf(stderr, "Error: in any run chunksize must "
"not be smaller than regionsize.\n"); "be strictly smaller than regionsize.\n");
return (EINVAL); return (EINVAL);
} }