]> git.hungrycats.org Git - linux/commitdiff
[NFS]: Fix printf format warnings in fs/nfs/nfs4xdr.c.
authorDavid S. Miller <davem@nuts.ninka.net>
Wed, 8 Oct 2003 01:03:10 +0000 (18:03 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 8 Oct 2003 01:03:10 +0000 (18:03 -0700)
fs/nfs/nfs4xdr.c

index 9d944780865d0ca23cd1fd42177cebeaeec1d98c..f80cea7b29231bb1d227fa9f421f3f27eb20a040 100644 (file)
@@ -205,7 +205,7 @@ struct compound_hdr {
 
 #define RESERVE_SPACE(nbytes)  do {                            \
        p = xdr_reserve_space(xdr, nbytes);                     \
-       if (!p) printk("RESERVE_SPACE(%d) failed in function %s\n", nbytes, __FUNCTION__); \
+       if (!p) printk("RESERVE_SPACE(%d) failed in function %s\n", (int) (nbytes), __FUNCTION__); \
        BUG_ON(!p);                                             \
 } while (0)