summaryrefslogtreecommitdiff
path: root/bin/ls/util.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-09-21 20:23:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-09-21 20:23:07 +0000
commit24891fb1df3ef9b8c65636e3cb8b848fe78f284f (patch)
tree369612a37872768c7e2267dfeb7fdb3cdbd9d6f5 /bin/ls/util.c
parent36317691a4b55a2304590bcbecaef1c1ad63dc8d (diff)
Notes
Diffstat (limited to 'bin/ls/util.c')
-rw-r--r--bin/ls/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index 4d1173d793d1..4f80c784f725 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -58,7 +58,7 @@ prcopy(src, dest, len)
int ch;
while (len--) {
- ch = *src++;
+ ch = *src++ & 0xff;
*dest++ = isprint(ch) ? ch : '?';
}
}