Subject: Re: CVS commit: src/usr.bin/fstat
To: None <martin@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 01/20/2003 18:16:15
Martin Husemann wrote:

> Module Name:	src
> Committed By:	martin
> Date:		Mon Jan 20 06:20:38 UTC 2003
> 
> Modified Files:
> 
> 	src/usr.bin/fstat: fstat.c
> 
> Log Message:
> 
> Make it compile again on LP64 archs.
> XXX - we *realy* need some format string macros for size_t/off_t!

The "z" modifier handles size_t (eg, "%zd").  off_t can use PRId64
from <inttypes.h> but it's a little ugly.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/