Commit 6c853099 authored by Randy Dunlap's avatar Randy Dunlap Committed by Trond Myklebust

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 486bad2e
...@@ -657,7 +657,7 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) ...@@ -657,7 +657,7 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
break; break;
default: default:
printk(KERN_CRIT "%s: bad return from " printk(KERN_CRIT "%s: bad return from "
"gss_fill_context: %ld\n", __func__, err); "gss_fill_context: %zd\n", __func__, err);
BUG(); BUG();
} }
goto err_release_msg; goto err_release_msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment