replace raw isprint() w/ isprint() func

Signed-off-by: Kayla Powell (AKA Kat) <kpowkitty@FreeBSD.org>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1740
This commit is contained in:
kpowkitty
2025-06-26 16:23:28 -07:00
committed by Warner Losh
parent 87c326e41e
commit bfa4759d51
+1 -1
View File
@@ -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 {