Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 May 2019 17:21:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237699] Hex printing with subr_prf cuts off zero-padded MSB
Message-ID:  <bug-237699-227-ql517NWv61@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237699-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237699-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237699

--- Comment #7 from contact@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 identifie=
r.
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)."

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237699-227-ql517NWv61>