Skip to content

Commit

Permalink
sunrpc: fix build-time warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Trond Myklebust committed Jan 6, 2010
1 parent 486bad2 commit 6c85309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/auth_gss/auth_gss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c85309

Please sign in to comment.