summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Greco <[email protected]>2014-01-24 19:19:34 +0100
committerBrian Behlendorf <[email protected]>2014-01-29 15:11:56 -0800
commit2278381ce2a820afe76dd9650298858d7037a01b (patch)
tree5e1254a48f87c9ad56f8bc874cf535d7a8c7146c
parent01b738f457f2a406fb6b4b264fb7a947b9b9989b (diff)
Fix error message in zpios
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 #2072
-rw-r--r--cmd/zpios/zpios_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zpios/zpios_main.c b/cmd/zpios/zpios_main.c
index b1091abe2..971a886a3 100644
--- a/cmd/zpios/zpios_main.c
+++ b/cmd/zpios/zpios_main.c
@@ -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);
}