projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
net
/
core
/
pktgen.c
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 9d6e6f18838be2fdb7690c38139a3b24680f121e..7ac703171ff3014cd2f204501250344ef5373cf1 100644
(file)
--- a/
net/core/pktgen.c
+++ b/
net/core/pktgen.c
@@
-3514,7
+3514,7
@@
static int pktgen_thread_worker(void *arg)
init_waitqueue_head(&t->queue);
- pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu,
current->pid
);
+ pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu,
task_pid_nr(current)
);
set_current_state(TASK_INTERRUPTIBLE);
This page took
0.073013 seconds
and
5
git commands to generate.