diff options
Diffstat (limited to 'nand-utils/nftl_format.c')
-rw-r--r-- | nand-utils/nftl_format.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nand-utils/nftl_format.c b/nand-utils/nftl_format.c index a329c59..ea8199d 100644 --- a/nand-utils/nftl_format.c +++ b/nand-utils/nftl_format.c @@ -234,7 +234,7 @@ int main(int argc, char **argv) int idx = 0; if (argc < 2) - usage(1); + usage(EXIT_FAILURE); nftl = "NFTL"; @@ -249,13 +249,13 @@ int main(int argc, char **argv) break; case 'h': case '?': - usage(0); + usage(EXIT_SUCCESS); break; case 'V': display_version(); break; default: - usage(1); + usage(EXIT_FAILURE); break; } } |