From 0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 7 Nov 2001 01:02:37 +0000 Subject: unbreak child_return. --- sys/arch/powerpc/powerpc/trap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/powerpc') 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; -- cgit v1.2.3