Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/ufs/ffs



Izumi Tsutsui wrote:

> In article <20030125125249.B9D6AB004%cvs.netbsd.org@localhost>
> tron%netbsd.org@localhost 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@localhost>
NetBSD Support and Service:         http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index