summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/write')
-rw-r--r--usr.bin/write/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c
index 7d99f21..a609cd2 100644
--- a/usr.bin/write/write.c
+++ b/usr.bin/write/write.c
@@ -308,7 +308,7 @@ wr_fputs(s)
#define PUTC(c) if (putchar(c) == EOF) goto err;
for (; *s != '\0'; ++s) {
- c = toascii(*s);
+ c = *s;
if (c == '\n') {
PUTC('\r');
PUTC('\n');
OpenPOWER on IntegriCloud