Skip to content

Commit bfa4759

Browse files
kpowkittybsdimp
authored andcommitted
replace raw isprint() w/ isprint() func
Signed-off-by: Kayla Powell (AKA Kat) <[email protected]> Reviewed by: imp Pull Request: #1740
1 parent 87c326e commit bfa4759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stand/libsa/hexdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ hexdump(caddr_t region, size_t len)
6161
for (x = 0; x < 16; x++) {
6262
if ((line + x) < (region + len)) {
6363
c = *(uint8_t *)(line + x);
64-
if ((c < ' ') || (c > '~')) /* !isprint(c) */
64+
if (!isprint(c))
6565
c = '.';
6666
emit("%c", c);
6767
} else {

0 commit comments

Comments
 (0)