Source-Changes archive

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

Re: CVS commit: src/sbin/fsdb



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


Home | Main Index | Thread Index | Old Index