aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /coreutils
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.bz2
busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.zip
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cal.c2
-rw-r--r--coreutils/env.c2
-rw-r--r--coreutils/printenv.c2
-rw-r--r--coreutils/printf.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index 8a08a9ae7..8a93057b0 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -179,7 +179,7 @@ int cal_main(int argc, char **argv)
179 } 179 }
180 } 180 }
181 181
182 fflush_stdout_and_exit(0); 182 fflush_stdout_and_exit(EXIT_SUCCESS);
183} 183}
184 184
185/* 185/*
diff --git a/coreutils/env.c b/coreutils/env.c
index 20cf348d6..e21740d98 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -85,7 +85,7 @@ int env_main(int argc ATTRIBUTE_UNUSED, char **argv)
85 puts(*ep); 85 puts(*ep);
86 } 86 }
87 87
88 fflush_stdout_and_exit(0); 88 fflush_stdout_and_exit(EXIT_SUCCESS);
89} 89}
90 90
91/* 91/*
diff --git a/coreutils/printenv.c b/coreutils/printenv.c
index 31d76d712..2fc01f22f 100644
--- a/coreutils/printenv.c
+++ b/coreutils/printenv.c
@@ -29,5 +29,5 @@ int printenv_main(int argc ATTRIBUTE_UNUSED, char **argv)
29 } 29 }
30 } 30 }
31 31
32 fflush_stdout_and_exit(0); 32 fflush_stdout_and_exit(EXIT_SUCCESS);
33} 33}
diff --git a/coreutils/printf.c b/coreutils/printf.c
index a12f7cae7..7c7613152 100644
--- a/coreutils/printf.c
+++ b/coreutils/printf.c
@@ -266,7 +266,7 @@ static char **print_formatted(char *format, char **argv)
266 break; 266 break;
267 case '\\': 267 case '\\':
268 if (*++f == 'c') 268 if (*++f == 'c')
269 exit(0); 269 exit(EXIT_SUCCESS);
270 bb_putchar(bb_process_escape_sequence((const char **)&f)); 270 bb_putchar(bb_process_escape_sequence((const char **)&f));
271 f--; 271 f--;
272 break; 272 break;