Date: Tue, 7 Jan 2003 10:17:18 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_prf.c Message-ID: <200301071817.h07IHILW070133@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/01/07 10:17:18 PST Modified files: sys/kern subr_prf.c Log: 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. Reviewed by: bde Revision Changes Path 1.94 +1 -1 src/sys/kern/subr_prf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301071817.h07IHILW070133>