summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-06 19:25:57 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-06 19:25:57 +0000
commitef75d88ca83504eb18013af4622826ef9b5ff28d (patch)
tree74e870e1bb8ff1239554fa8819e106ac30cd8842 /sys/arch/sparc64
parent9cbc24398c8c8d643c28ee87e77ed351c422be1c (diff)
unbreak child_return.
Diffstat (limited to 'sys/arch/sparc64')
-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().