diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-15 21:09:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-15 21:09:31 +0000 |
commit | 7a9949a766efb61c185c9bf2f8f4c6b31008d9b5 (patch) | |
tree | a5e37ca21895b77eb035b59e2d38c4305a441b91 /sys/arch/sparc | |
parent | b2910516abe27ac21394fe05cfbe8d5b208565be (diff) |
Change child_return() to record a proper ktrace record for vfork child
processes.
ok art@ uwe@ (some time ago)
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/trap.c b/sys/arch/sparc/sparc/trap.c index 5ad537e4c19..496e0989770 100644 --- a/sys/arch/sparc/sparc/trap.c +++ b/sys/arch/sparc/sparc/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.44 2005/04/21 04:39:35 mickey Exp $ */ +/* $OpenBSD: trap.c,v 1.45 2005/09/15 21:09:29 miod Exp $ */ /* $NetBSD: trap.c,v 1.58 1997/09/12 08:55:01 pk Exp $ */ /* @@ -1181,6 +1181,6 @@ child_return(arg) #ifdef KTRACE if (KTRPOINT(p, KTR_SYSRET)) ktrsysret(p, - (p->p_flag & P_PPWAIT) ? SYS_vfork : SYS_fork, 0, 0); + (p->p_flag & P_PPWAIT) ? SYS_vfork : SYS_fork, 0, 0); #endif } |