summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:02:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:02:37 +0000
commit0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 (patch)
tree3f31a7007455e90cabcdf08d7e38b337b6559132 /sys/arch/powerpc
parenta225e0777bbc01cc109e9a3b9e870a3dedb910b8 (diff)
unbreak child_return.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/trap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index 60bd53fc1ef..2da7fa246ca 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.35 2001/11/06 19:53:16 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.36 2001/11/07 01:02:36 art Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -471,9 +471,10 @@ for (i = 0; i < errnum; i++) {
}
void
-child_return(p)
- struct proc *p;
+child_return(arg)
+ void *arg;
{
+ struct proc *p = (struct proc *)arg;
struct trapframe *tf = trapframe(p);
tf->fixreg[0] = 0;