From owner-cvs-all Mon Mar 18 21:29:26 2002 Delivered-To: cvs-all@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id 3C7B337B404; Mon, 18 Mar 2002 21:29:17 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g2J5MkO84973; Tue, 19 Mar 2002 00:22:46 -0500 (EST) (envelope-from mike) Date: Tue, 19 Mar 2002 00:22:46 -0500 From: Mike Barcroft To: Bruce Evans Cc: Peter Wemm , 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> References: <20020319010146.B1F17390B@overcee.wemm.org> <20020319153037.A4516-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020319153037.A4516-100000@gamplex.bde.org>; from bde@zeta.org.au on Tue, Mar 19, 2002 at 03:41:57PM +1100 Organization: The FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans 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