Subject: Re: Another build failure
To: None <paul@whooppee.com>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 02/05/2007 17:01:04
On Mon, Feb 05, 2007 at 03:55:30PM +0100, Nicolas Joly wrote:
> On Mon, Feb 05, 2007 at 06:52:06AM -0800, Charlie Root wrote:
> > This one is port-specific, fails on amd64 but succeeds on i386.  All 
> > sources updated via CVS at 2007-02-04 12:43 GMT...
> > 
> > cc1: warnings being treated as errors
> > /usr/src/sbin/init/init.c: In function 'mfs_dev':
> > /usr/src/sbin/init/init.c:1701: warning: format '%d' expects type 'int', 
> > but argument 3 has type 'size_t'
> > /usr/src/sbin/init/init.c:1736: warning: format '%d' expects type 'int', 
> > but argument 2 has type 'size_t'
> 
> Yep. What about the following patch ?

I was wrong (thanks elad for noticing). `size_t' is an unsigned type,
and the correct format is `%zu'.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.