diff options
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c index 4d1173d..4f80c78 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 : '?'; } } |