aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand/bootp.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-07-08 22:21:18 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-07-08 22:21:18 +0000
commit5cd8ebeb32279591176490cc207dfc7bd9250e87 (patch)
treea6f2bc734d24be4173e5d45522dbbe765e93d23f /lib/libstand/bootp.h
parent4624e08a5984a56642bd0f93f08c1e153c42badd (diff)
downloadsrc-5cd8ebeb32279591176490cc207dfc7bd9250e87.tar.gz
src-5cd8ebeb32279591176490cc207dfc7bd9250e87.zip
Sync. printf() of libstand(3) with sys/kern/subr_prf.c.
CVS r1.94 jhb: Cast the integer read as the first argument for %b to an unsigned integer so it's value is not sign extended when assigned to the uintmax_t variable used internally by printf. For example, if bit 31 is set in the cpuid feature word, then %b would print out the initial value as a 16 character hexadecimal value. Now it only prints out an 8 character value. CVS r1.109 njl: Add support for 'h' and 'hh' modifiers for printf(9). CVS r1.117 phk: If we ignore an unknown % sequence, we must stop interpreting the remaining % arguments because the varargs are now out of sync and there is a risk that we might for instance dereference an integer in a %s argument. SVN r209836 jkim: Implement optional 'precision' for numbers. Previously, it was parsed but ignored. Some third-party modules (e.g., APCICA) prefer this format over zero padding flag '0'.
Notes
Notes: svn path=/head/; revision=209837
Diffstat (limited to 'lib/libstand/bootp.h')
0 files changed, 0 insertions, 0 deletions