revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'

O. Hartmann ohartman at zedat.fu-berlin.de
Sat Jun 22 13:09:04 UTC 2013


Just for notice.

The most recent sources fail to compile a kernel successfully:


[...]
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:33: error: format
specifies type 'long long' but the argument has type 'uint64_t' (aka
'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error,
flp->nfsfl_off, len, ^~~~~~~~~~~~~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:49: error: format
specifies type 'long long' but the argument has type 'uint64_t' (aka
'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error,
flp->nfsfl_off, len, ^~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies
type 'long long' but the argument has type 'uint64_t' (aka 'unsigned
long') [-Werror,-Wformat] lyp->nfsly_lastbyte);
                            ^~~~~~~~~~~~~~~~~~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
3 errors generated.
*** Error code 1

Stop.


Regards,
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130622/c51ddcc9/attachment.sig>


More information about the freebsd-current mailing list