summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/zramctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
index bdab4ad59..a8d0bbdd7 100644
--- a/sys-utils/zramctl.c
+++ b/sys-utils/zramctl.c
@@ -497,7 +497,7 @@ int main(int argc, char **argv)
act = find ? A_FINDONLY : A_STATUS;
if (act != A_RESET && optind + 1 < argc)
- usage(stderr); /* only --reset holds more devices */
+ errx(EXIT_FAILURE, _("only one <device> at a time is allowed"));
switch (act) {
case A_STATUS: