summaryrefslogtreecommitdiff
path: root/nand-utils/nandtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'nand-utils/nandtest.c')
-rw-r--r--nand-utils/nandtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nand-utils/nandtest.c b/nand-utils/nandtest.c
index 5676733..9e39446 100644
--- a/nand-utils/nandtest.c
+++ b/nand-utils/nandtest.c
@@ -181,14 +181,14 @@ int main(int argc, char **argv)
switch (c) {
case 'h':
- usage(0);
+ usage(EXIT_SUCCESS);
break;
case 'V':
common_print_version();
exit(EXIT_SUCCESS);
break;
case '?':
- usage(1);
+ usage(EXIT_FAILURE);
break;
case 'm':
@@ -222,7 +222,7 @@ int main(int argc, char **argv)
}
}
if (argc - optind != 1)
- usage(1);
+ usage(EXIT_FAILURE);
if (error)
errmsg_die("Try --help for more information");