diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-07 01:02:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-07 01:02:37 +0000 |
commit | 0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 (patch) | |
tree | 3f31a7007455e90cabcdf08d7e38b337b6559132 /sys/arch/powerpc | |
parent | a225e0777bbc01cc109e9a3b9e870a3dedb910b8 (diff) |
unbreak child_return.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/trap.c | 7 |
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; |