Use helpers to obtain task pid in printks
[deliverable/linux.git] / net / ipv4 / tcp.c
index 4f322003835dc1886b4202259a91bd641d9139c3..2e6ad6dbba6c54d904d1df28d6e38dfcd7640b00 100644 (file)
@@ -1334,7 +1334,7 @@ do_prequeue:
                if ((flags & MSG_PEEK) && peek_seq != tp->copied_seq) {
                        if (net_ratelimit())
                                printk(KERN_DEBUG "TCP(%s:%d): Application bug, race in MSG_PEEK.\n",
-                                      current->comm, current->pid);
+                                      current->comm, task_pid_nr(current));
                        peek_seq = tp->copied_seq;
                }
                continue;
This page took 0.023625 seconds and 5 git commands to generate.