]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sunrpc/sched.c
Use helpers to obtain task pid in printks
[net-next-2.6.git] / net / sunrpc / sched.c
index 3c773c53e12e96e08207e50446a033132043e349..c98873f39aec49bc4d4af57f60f34d23a20123c4 100644 (file)
@@ -847,7 +847,7 @@ void rpc_init_task(struct rpc_task *task, struct rpc_clnt *clnt, int flags, cons
        task->tk_start = jiffies;
 
        dprintk("RPC:       new task initialized, procpid %u\n",
-                               current->pid);
+                               task_pid_nr(current));
 }
 
 static struct rpc_task *