summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tr.c b/src/tr.c
index 3bb9cec6f..366b21710 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -494,7 +494,7 @@ unquote (const unsigned char *s, struct E_string *es)
c = '\\';
break;
case 'a':
- c = '\007';
+ c = '\a';
break;
case 'b':
c = '\b';
@@ -643,7 +643,7 @@ make_printable_str (const unsigned char *s, size_t len)
case '\\':
tmp = "\\";
break;
- case '\007':
+ case '\a':
tmp = "\\a";
break;
case '\b':