summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-11-06 21:33:53 +0000
committermickey <mickey@openbsd.org>2001-11-06 21:33:53 +0000
commit9c3600ce70c17fa0e018e2fe4cd9cdc683f9488e (patch)
treea026c94684b5e66f19353c755cc9bcaea8c18f13 /sys
parentfix compiler warning for INADDR_ALLROUTERS_GROUP; goeran@cdg.chalmers.se (diff)
downloadwireguard-openbsd-9c3600ce70c17fa0e018e2fe4cd9cdc683f9488e.tar.xz
wireguard-openbsd-9c3600ce70c17fa0e018e2fe4cd9cdc683f9488e.zip
child_return unscrewart
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/trap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/trap.c b/sys/arch/sparc/sparc/trap.c
index 62f795650de..98a6ca5f0cb 100644
--- a/sys/arch/sparc/sparc/trap.c
+++ b/sys/arch/sparc/sparc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.33 2001/11/06 19:53:16 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.34 2001/11/06 21:33:53 mickey Exp $ */
/* $NetBSD: trap.c,v 1.58 1997/09/12 08:55:01 pk Exp $ */
/*
@@ -1149,9 +1149,10 @@ syscall(code, tf, pc)
* Process the tail end of a fork() for the child.
*/
void
-child_return(p)
- struct proc *p;
+child_return(arg)
+ void *arg;
{
+ struct proc *p = arg;
/*
* Return values in the frame set by cpu_fork().