aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-11-03 04:49:16 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-11-03 04:49:16 +0000
commit6d7b314b14ab420b64ef00a75983ed523fdfe654 (patch)
treeb8ef20963382d8a5edc4b03cfb0512134beca910 /sys/kern/kern_exec.c
parent165edba6a77a4c2eb54164b62e09630a1d8cb278 (diff)
downloadsrc-6d7b314b14ab420b64ef00a75983ed523fdfe654.tar.gz
src-6d7b314b14ab420b64ef00a75983ed523fdfe654.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 811bd9fb689c..51f012fba5e5 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -670,7 +670,7 @@ interpret:
* single thread mode.
*/
if (p->p_flag & P_TRACED)
- tdsignal(td, SIGTRAP, NULL, SIGTARGET_TD);
+ tdsignal(p, td, SIGTRAP, NULL);
/* clear "fork but no exec" flag, as we _are_ execing */
p->p_acflag &= ~AFORK;