aboutsummaryrefslogtreecommitdiff
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 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;