We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c326e commit bfa4759Copy full SHA for bfa4759
stand/libsa/hexdump.c
@@ -61,7 +61,7 @@ hexdump(caddr_t region, size_t len)
61
for (x = 0; x < 16; x++) {
62
if ((line + x) < (region + len)) {
63
c = *(uint8_t *)(line + x);
64
- if ((c < ' ') || (c > '~')) /* !isprint(c) */
+ if (!isprint(c))
65
c = '.';
66
emit("%c", c);
67
} else {
0 commit comments