summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-28 22:48:27 +0000
committerache <ache@FreeBSD.org>1995-10-28 22:48:27 +0000
commit4875c513925202863105e2af1b368f2da6163d8e (patch)
tree0cbc412a57ab8ad60b7b9a85b6b4b3ffe0a01403 /usr.bin/write
parent70f41d16894d085e0d9961022c83890555feab92 (diff)
downloadFreeBSD-src-4875c513925202863105e2af1b368f2da6163d8e.zip
FreeBSD-src-4875c513925202863105e2af1b368f2da6163d8e.tar.gz
Now works with 8bit chars...
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