summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-11-06 19:25:56 +0000
committerart <art@openbsd.org>2001-11-06 19:25:56 +0000
commitfaed54d2a425fa68d81dae10beefcf544327e207 (patch)
tree4cee5522c52bdc7aa102c83aab5eaa76841ea225
parentNo need to include vm/vm.h here. (diff)
downloadwireguard-openbsd-faed54d2a425fa68d81dae10beefcf544327e207.tar.xz
wireguard-openbsd-faed54d2a425fa68d81dae10beefcf544327e207.zip
unbreak child_return.
-rw-r--r--sys/arch/sparc64/sparc64/trap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c
index 5e4ea1843b9..7d82334b46f 100644
--- a/sys/arch/sparc64/sparc64/trap.c
+++ b/sys/arch/sparc64/sparc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.11 2001/09/28 14:43:13 art Exp $ */
+/* $OpenBSD: trap.c,v 1.12 2001/11/06 19:25:56 art Exp $ */
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
/*
@@ -1415,9 +1415,10 @@ syscall(tf, code, 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 = (struct proc *)arg;
/*
* Return values in the frame set by cpu_fork().