summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4recover.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-04-30 12:25:31 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-30 12:28:48 -0700
commit8a7dc4b04b22be285ea5bef7d01a02f91e30d562 (patch)
tree20a8c483fbbee01c7b972dd4bd45b6753fa2d92f /fs/nfsd/nfs4recover.c
parentfbf717629ff03f110f177d244933276423f99a27 (diff)
downloadop-kernel-dev-8a7dc4b04b22be285ea5bef7d01a02f91e30d562.zip
op-kernel-dev-8a7dc4b04b22be285ea5bef7d01a02f91e30d562.tar.gz
nfsd: fix nfs4recover.c printk format warning
Fix printk format warnings -- both items are size_t, so use %zu to print them. fs/nfsd/nfs4recover.c:580:3: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t' fs/nfsd/nfs4recover.c:580:3: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: linux-nfs@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r--fs/nfsd/nfs4recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 4767429..ed3f920 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -577,7 +577,7 @@ cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
struct cld_net *cn = nn->cld_net;
if (mlen != sizeof(*cmsg)) {
- dprintk("%s: got %lu bytes, expected %lu\n", __func__, mlen,
+ dprintk("%s: got %zu bytes, expected %zu\n", __func__, mlen,
sizeof(*cmsg));
return -EINVAL;
}
OpenPOWER on IntegriCloud