Date: Tue, 19 Mar 2002 00:22:46 -0500 From: Mike Barcroft <mike@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> Cc: Peter Wemm <peter@wemm.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/amr amr.c Message-ID: <20020319002246.M56122@espresso.q9media.com> In-Reply-To: <20020319153037.A4516-100000@gamplex.bde.org>; from bde@zeta.org.au on Tue, Mar 19, 2002 at 03:41:57PM %2B1100 References: <20020319010146.B1F17390B@overcee.wemm.org> <20020319153037.A4516-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes: > Th fix should use %jd, since it really wants to use a maximal integral > type, but %j is not available yet (it is is in printf(3), but not in > the kernel, and gcc-2 doesn't understand it). If anyone is interested in implementing this, let me know. It looks like a fairly easy task. The only two new features of printf(3), that I can see of use in the kernel are %j for printing intmax_t and uintmax_t, and %z for printing size_t. %z might not be useful if we made certain assumptions (for instance size_t is always equal to uintmax_t). Best regards, Mike Barcroft 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?20020319002246.M56122>