aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-06-27 21:52:17 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-06-27 21:52:17 +0000
commit9e590ff04b687e910579a5851d95cedf9eb10bfd (patch)
tree1f2b0dc7608da9e7ac3822cc576909c7e7a41ff5 /sys/kern/kern_exec.c
parent424340f2c7fcf8309af026702e39c354562aa152 (diff)
downloadsrc-9e590ff04b687e910579a5851d95cedf9eb10bfd.tar.gz
src-9e590ff04b687e910579a5851d95cedf9eb10bfd.zip
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 63d855d3ceea..844f1ed939cb 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -832,7 +832,7 @@ interpret:
* Notify others that we exec'd, and clear the P_INEXEC flag
* as we're now a bona fide freshly-execed process.
*/
- KNOTE_LOCKED(&p->p_klist, NOTE_EXEC);
+ KNOTE_LOCKED(p->p_klist, NOTE_EXEC);
p->p_flag &= ~P_INEXEC;
/* clear "fork but no exec" flag, as we _are_ execing */