[Bug 237699] Hex printing with subr_prf cuts off zero-padded MSB

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 2 17:21:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237699

--- Comment #7 from contact at knnspeed.com ---
Sorry, I meant "2 nibbles of padding get eaten when using 0-padding" in my
previous comment.

Something like "Note: when using the '#' flag with zero padding and x, the two
uppermost padding zeroes will be replaced by the "0x" hexadecimal identifier.
In these cases, specify two extra padding zeros (e.g. use %#018qx instead of
%#016qx). Similarly, when using this flag with o, add one extra padding zero
for the octal identifier (e.g. use %#08o instead of %#07o)."

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list