[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: CVS commit: src/sbin/fsdb
From:       Thomas Klausner <wiz () NetBSD ! org>
Date:       2008-12-29 18:11:14
Message-ID: 20081229181114.GZ9273 () danbala ! tuwien ! ac ! at
[Download RAW message or body]

On Sun, Dec 28, 2008 at 08:23:53PM +0000, Christos Zoulas wrote:
> 
> Module Name:	src
> Committed By:	christos
> Date:		Sun Dec 28 20:23:53 UTC 2008
> 
> Modified Files:
> 	src/sbin/fsdb: fsdbutil.c
> 
> Log Message:
> fix printf formats.

amd64 build on amd64/5.99.3 of up-to-date source fails with:
#   compile  fsdb/fsdbutil.o
/archive/build/tools/bin/x86_64--netbsd-gcc -O2  -Wall -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional \
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings \
-Wextra -Wno-unused-parameter  -Werror   -I/usr/src/sbin/fsck \
-I/usr/src/sbin/fsck_ffs -DWAPBL_DEBUG_PRINT=0 -nostdinc -isystem \
                /archive/build/amd64.20081229/usr/include   -c    \
                /usr/src/sbin/fsdb/fsdbutil.c
cc1: warnings being treated as errors
/usr/src/sbin/fsdb/fsdbutil.c: In function 'printstat':
/usr/src/sbin/fsdb/fsdbutil.c:116: warning: format '%llu' expects type 'long long \
                unsigned int', but argument 2 has type 'int'
/usr/src/sbin/fsdb/fsdbutil.c:116: warning: format '%llu' expects type 'long long \
                unsigned int', but argument 3 has type 'int'
/usr/src/sbin/fsdb/fsdbutil.c:116: warning: format '%llu' expects type 'long long \
                unsigned int', but argument 2 has type 'int'
/usr/src/sbin/fsdb/fsdbutil.c:116: warning: format '%llu' expects type 'long long \
unsigned int', but argument 3 has type 'int'

 Thomas


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic