Date: Fri, 23 Jan 2015 07:32:00 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195005] kvprintf(9) and friends usage examples: trailing '\n' in bitfield argument is wrong (will be treated as bit 10) Message-ID: <bug-195005-8-Q1O0hKF4xN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195005-8@https.bugs.freebsd.org/bugzilla/> References: <bug-195005-8@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=195005 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: danfe Date: Fri Jan 23 07:30:59 UTC 2015 New revision: 277560 URL: https://svnweb.freebsd.org/changeset/base/277560 Log: Fix usage example in kvprintf(9) and its copy in libstand(3): trailing '\n' in bitfield argument is 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 the examples). Also fix grammar and kill EOL whitespace in comment while here. PR: 195005 Approved by: bdrewery Changes: head/lib/libstand/libstand.3 head/lib/libstand/printf.c head/share/man/man9/printf.9 head/sys/kern/subr_prf.c -- 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-195005-8-Q1O0hKF4xN>