https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195005
Bug ID: 195005
Summary: kvprintf(9) and friends usage examples: trailing '\n'
in bitfield argument is wrong (will be treated as bit
10)
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 149399
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149399&action=edit
%b format usage fix
Consider attached patch, which fixes usage example in kvprintf(9) and friends:
trailing '\n' in bitfield argument looks wrong, as it will be treated as bit
10, causing any code printing >=10 bits with bit 10 on as having a trailing
comma.
Newline (intended one) should be part of the format string (already present in
examples).
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"