]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/llc/af_llc.c
Use helpers to obtain task pid in printks
[mirror_ubuntu-bionic-kernel.git] / net / llc / af_llc.c
index 49eacba824df5bfdf1905c1df6e5503eaf15326d..46cf962f7f8889f049a3b0406f9f5f3b6c31034c 100644 (file)
@@ -762,7 +762,7 @@ static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock,
                        if (net_ratelimit())
                                printk(KERN_DEBUG "LLC(%s:%d): Application "
                                                  "bug, race in MSG_PEEK.\n",
-                                      current->comm, current->pid);
+                                      current->comm, task_pid_nr(current));
                        peek_seq = llc->copied_seq;
                }
                continue;