summaryrefslogtreecommitdiff
path: root/fs/lockd/svc4proc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2006-12-05 16:36:03 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 10:46:54 -0500
commitc041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc (patch)
treee58261c472967086346c01be0cd80f801f0cdb21 /fs/lockd/svc4proc.c
parentfbf76683ff9d1462ec0b2f90ec6ea4793652318c (diff)
downloadlinux-3.10-c041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc.tar.gz
linux-3.10-c041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc.tar.bz2
linux-3.10-c041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc.zip
NLM: fix print format for tk_pid
The tk_pid field is an unsigned short. The proper print format specifier for that type is %5u, not %4d. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/svc4proc.c')
-rw-r--r--fs/lockd/svc4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
index 0ce5c81ff50..f67146a8199 100644
--- a/fs/lockd/svc4proc.c
+++ b/fs/lockd/svc4proc.c
@@ -234,7 +234,7 @@ nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp,
*/
static void nlm4svc_callback_exit(struct rpc_task *task, void *data)
{
- dprintk("lockd: %4d callback returned %d\n", task->tk_pid,
+ dprintk("lockd: %5u callback returned %d\n", task->tk_pid,
-task->tk_status);
}