diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 13:29:47 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 13:29:47 +0400 |
commit | 636a1f85e89432601c59cdc3239fc867b4adf051 (patch) | |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /util-linux/ipcs.c | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd (diff) |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'util-linux/ipcs.c')
-rw-r--r-- | util-linux/ipcs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index 4b5c597e5..111defa1e 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c @@ -588,15 +588,15 @@ int ipcs_main(int argc ATTRIBUTE_UNUSED, char **argv) if (flags & flag_print) { if (flags & flag_shm) { print_shm(id); - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } if (flags & flag_sem) { print_sem(id); - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } if (flags & flag_msg) { print_msg(id); - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } bb_show_usage(); } @@ -617,5 +617,5 @@ int ipcs_main(int argc ATTRIBUTE_UNUSED, char **argv) do_msg(); bb_putchar('\n'); } - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } |