Subject: Re: CVS commit: src/sys/ufs/ffs
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 01/26/2003 01:01:07
Izumi Tsutsui wrote:

> In article <20030125125249.B9D6AB004@cvs.netbsd.org>
> tron@netbsd.org wrote:
> 
> > Module Name:	src
> > Committed By:	tron
> > Date:		Sat Jan 25 12:52:49 UTC 2003
> > 
> > Modified Files:
> > 	src/sys/ufs/ffs: ffs_softdep.c
> > 
> > Log Message:
> > Fix printf() format strings problems caused by "daddr_t" change.
> 
> This does not fix problems on alpha:
> cc1: warnings being treated as errors
> ../../../../ufs/ffs/ffs_softdep.c: In function `initiate_write_inodeblock':
> ../../../../ufs/ffs/ffs_softdep.c:3425: warning: long long int format, daddr_t arg (arg 5)
> ../../../../ufs/ffs/ffs_softdep.c:3434: warning: long long int format, daddr_t arg (arg 5)
> *** Error code 1

Why aren't we using PRId64 from <sys/inttypes.h> for this
(<sys/inttypes.h> for kernel, <inttypes.h> for userland)?

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