aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/hexdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/libsa/hexdump.c')
-rw-r--r--stand/libsa/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/libsa/hexdump.c b/stand/libsa/hexdump.c
index 83fd5e277f1b..cce6e323c2cb 100644
--- a/stand/libsa/hexdump.c
+++ b/stand/libsa/hexdump.c
@@ -61,7 +61,7 @@ hexdump(caddr_t region, size_t len)
for (x = 0; x < 16; x++) {
if ((line + x) < (region + len)) {
c = *(uint8_t *)(line + x);
- if ((c < ' ') || (c > '~')) /* !isprint(c) */
+ if (!isprint(c))
c = '.';
emit("%c", c);
} else {