Subject: Re: Wall (was prototyping for kernel code )
To: Robert.V.Baron <rvb@gluck.coda.cs.cmu.edu>
From: Scott Reynolds <scottr@Plexus.COM>
List: tech-kern
Date: 12/12/1997 10:02:40
On Thu, 11 Dec 1997, Robert.V.Baron wrote:
> I occassionally go to print out the uio_offset which is an off_t,
> i.e. quad. It does not look to me that the kernel printf handles
> quads (%qx or %llx) -- does it.
The kernel does support %qx; look in src/sys/kern/subr_prf.c (kprintf(),
ksnprintn()). I can't explain why you might be getting warnings, though,
if you are using the NetBSD toolchain...
--scott