summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-01-06 17:26:27 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-01-06 17:30:05 -0500
commit6c8530993e1fdf1d6af0403e796fe14d80b4b097 (patch)
tree1f4e2b4bbc1087684696e41c2f8304d2aaaae179 /net
parent486bad2e40e938cd68fd853b7a9fa3115a9d3a4a (diff)
sunrpc: fix build-time warning
Fix auth_gss printk format warning: net/sunrpc/auth_gss/auth_gss.c:660: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index 66cb89c18347..f7a7f8380e38 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -657,7 +657,7 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
break;
default:
printk(KERN_CRIT "%s: bad return from "
- "gss_fill_context: %ld\n", __func__, err);
+ "gss_fill_context: %zd\n", __func__, err);
BUG();
}
goto err_release_msg;