diff options
-rw-r--r-- | usr.bin/finger/lprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c index 83aa5c08..93e4a9b 100644 --- a/usr.bin/finger/lprint.c +++ b/usr.bin/finger/lprint.c @@ -336,7 +336,7 @@ vputc(ch) { int meta; - if (!isascii(ch)) { + if (!isprint(ch) && !isascii(ch)) { (void)putchar('M'); (void)putchar('-'); ch = toascii(ch); |