From owner-cvs-all Fri Oct 4 4:20:11 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515EC37B401; Fri, 4 Oct 2002 04:20:10 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C374943E4A; Fri, 4 Oct 2002 04:20:08 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA04615; Fri, 4 Oct 2002 21:19:55 +1000 Date: Fri, 4 Oct 2002 21:29:37 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxime Henrion Cc: Peter Wemm , , Subject: Re: cvs commit: src/sys/dev/acpica acpi_pcib.c In-Reply-To: <20021004091018.GJ57622@elvis.mu.org> Message-ID: <20021004212226.I7544-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 4 Oct 2002, Maxime Henrion wrote: > Bruce Evans wrote: > > [about a not-quite-right fix for printing size_t's] > > Don't we have the %z format specifier in the kernel printf() ? Not really. We have a %z, but it is for a special ddb format (signed hex) and not for size_t's. gcc's format checker doesn't understand this (-fformat-extensions should switch from C99 extensions to kernel extensions, but doesn't attempt to). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message