diff options
author | Bernhard Reutner-Fischer | 2008-05-19 09:29:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2008-05-19 09:29:47 +0000 |
commit | 636a1f85e89432601c59cdc3239fc867b4adf051 (patch) | |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /coreutils | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd (diff) | |
download | busybox-636a1f85e89432601c59cdc3239fc867b4adf051.zip busybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cal.c | 2 | ||||
-rw-r--r-- | coreutils/env.c | 2 | ||||
-rw-r--r-- | coreutils/printenv.c | 2 | ||||
-rw-r--r-- | coreutils/printf.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 8a08a9a..8a93057 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -179,7 +179,7 @@ int cal_main(int argc, char **argv) } } - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } /* diff --git a/coreutils/env.c b/coreutils/env.c index 20cf348..e21740d 100644 --- a/coreutils/env.c +++ b/coreutils/env.c @@ -85,7 +85,7 @@ int env_main(int argc ATTRIBUTE_UNUSED, char **argv) puts(*ep); } - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } /* diff --git a/coreutils/printenv.c b/coreutils/printenv.c index 31d76d7..2fc01f2 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c @@ -29,5 +29,5 @@ int printenv_main(int argc ATTRIBUTE_UNUSED, char **argv) } } - fflush_stdout_and_exit(0); + fflush_stdout_and_exit(EXIT_SUCCESS); } diff --git a/coreutils/printf.c b/coreutils/printf.c index a12f7ca..7c76131 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c @@ -266,7 +266,7 @@ static char **print_formatted(char *format, char **argv) break; case '\\': if (*++f == 'c') - exit(0); + exit(EXIT_SUCCESS); bb_putchar(bb_process_escape_sequence((const char **)&f)); f--; break; |