Date: Tue, 11 Oct 2011 07:46:45 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r226246 - head/usr.bin/kdump Message-ID: <201110110746.p9B7kj0D003433@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Tue Oct 11 07:46:45 2011 New Revision: 226246 URL: http://svn.freebsd.org/changeset/base/226246 Log: Cast to unsigned for %#jx. Noticed by: jh@ Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c ============================================================================== --- head/usr.bin/kdump/kdump.c Tue Oct 11 05:17:45 2011 (r226245) +++ head/usr.bin/kdump/kdump.c Tue Oct 11 07:46:45 2011 (r226246) @@ -114,7 +114,7 @@ struct ktr_header ktr_header; if (decimal) \ printf("%c%jd", c, (intmax_t)*i); \ else \ - printf("%c%#jx", c, (intmax_t)*i); \ + printf("%c%#jx", c, (uintmax_t)*i); \ i++; \ n--; \ c = ','; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110110746.p9B7kj0D003433>