mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
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:
parent
01b738f457
commit
2278381ce2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user