Skip to content

Commit

Permalink
Fix error message in zpios
Browse files Browse the repository at this point in the history
The chunksize must always be strictly smaller than the regionsize.

Signed-off-by: Andrew Uselton <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#2072
  • Loading branch information
sikevux authored and behlendorf committed Jan 29, 2014
1 parent 01b738f commit 2278381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/zpios/zpios_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ run_region_sizes(cmd_args_t *args)

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

Expand Down

0 comments on commit 2278381

Please sign in to comment.