summaryrefslogtreecommitdiffstats
path: root/tapset/process.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/process.stp')
-rw-r--r--tapset/process.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/process.stp b/tapset/process.stp
index ff4f292c..ca49aa67 100644
--- a/tapset/process.stp
+++ b/tapset/process.stp
@@ -24,8 +24,8 @@ function _IS_ERR:long(ptr:long) %{ /* pure */
*/
probe process.create = kernel.function("copy_process").return {
task = $return
- new_pid = task_pid(task)
if (_IS_ERR(task)) next
+ new_pid = task_pid(task)
}