On Thu, 24 Nov 2011, Hisashi T Fujinaka wrote:
On Thu, 24 Nov 2011, Adam Hoka wrote:
On 11/24/2011 7:25 PM, Hisashi T Fujinaka wrote:
In file included from
/usr/src/sys/ufs/chfs/debug.c:46:0:/usr/src/sys/ufs/chfs/chfs.h: In
function 'chfs_nref_to_vc':
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 3 has type 'ino_t'
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 4 has type 'ino_t'
/usr/src/sys/ufs/chfs/chfs.h:531:2: error: format '%llu' expects type
'long long unsigned int', but argument 5 has type '__uint64_t'
*** Error code 1
should be fixed, thanks for reporting
Now it's
/usr/src/sys/ufs/chfs/chfs_wbuf.c: In function
'chfs_write_wbuf':/usr/src/sys/ufs/chfs/chfs_wbuf.c:179:3: error: format
'%llu' expects type 'long long unsigned int', but argument 3 has type
'__off_t'
I figured out how you fixed it in chfs.h and found problems in a bunch
of files. The may or may not be correct, but if the attachment doesn't
get stripped, here it is. The files are:
src/sys/ufs/chfs/chfs_build.c
src/sys/ufs/chfs/chfs_gc.c
src/sys/ufs/chfs/chfs_readinode.c
src/sys/ufs/chfs/chfs_scan.c
src/sys/ufs/chfs/chfs_subr.c
src/sys/ufs/chfs/chfs_vfsops.c
src/sys/ufs/chfs/chfs_vnode.c
src/sys/ufs/chfs/chfs_vnops.c
src/sys/ufs/chfs/chfs_wbuf.c
src/sys/ufs/chfs/chfs_write.c