summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-08-08 00:45:21 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-08-08 00:45:21 +0000
commitd40cee33a8b43c0c96f085c132ed25fad38c6d69 (patch)
tree18ad5a82bd8e4a662c8c15c3e569c4992ac66040
parent7a88bad16aea55f95d0cb61f69c7d16d2d5399cd (diff)
Notes
-rw-r--r--usr.bin/finger/lprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c
index 83aa5c0832bc..93e4a9be283e 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);