summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 6586939..00bfb1a 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -376,7 +376,7 @@ escape(char *fmt, int percent)
*store = *fmt;
break;
case 'a': /* bell/alert */
- *store = '\7';
+ *store = '\a';
break;
case 'b': /* backspace */
*store = '\b';
@@ -397,7 +397,7 @@ escape(char *fmt, int percent)
*store = '\t';
break;
case 'v': /* vertical tab */
- *store = '\13';
+ *store = '\v';
break;
/* octal constant */
case '0': case '1': case '2': case '3':
OpenPOWER on IntegriCloud