The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=bfa4759d51e3db4b890beba56e6effe7b66786b7
commit bfa4759d51e3db4b890beba56e6effe7b66786b7 Author: kpowkitty <witchikitti...@gmail.com> AuthorDate: 2025-06-26 23:23:28 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2025-07-23 06:33:06 +0000 replace raw isprint() w/ isprint() func Signed-off-by: Kayla Powell (AKA Kat) <kpowki...@freebsd.org> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1740 --- stand/libsa/hexdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {