projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use helpers to obtain task pid in printks
[linux-2.6-block.git]
/
net
/
llc
/
af_llc.c
diff --git
a/net/llc/af_llc.c
b/net/llc/af_llc.c
index 49eacba824df5bfdf1905c1df6e5503eaf15326d..46cf962f7f8889f049a3b0406f9f5f3b6c31034c 100644
(file)
--- a/
net/llc/af_llc.c
+++ b/
net/llc/af_llc.c
@@
-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;