summaryrefslogtreecommitdiff
path: root/coreutils/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/printf.c')
-rw-r--r--coreutils/printf.c2
1 files changed, 1 insertions, 1 deletions
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;