diff options
author | 2001-11-06 19:25:56 +0000 | |
---|---|---|
committer | 2001-11-06 19:25:56 +0000 | |
commit | faed54d2a425fa68d81dae10beefcf544327e207 (patch) | |
tree | 4cee5522c52bdc7aa102c83aab5eaa76841ea225 | |
parent | No need to include vm/vm.h here. (diff) | |
download | wireguard-openbsd-faed54d2a425fa68d81dae10beefcf544327e207.tar.xz wireguard-openbsd-faed54d2a425fa68d81dae10beefcf544327e207.zip |
unbreak child_return.
-rw-r--r-- | sys/arch/sparc64/sparc64/trap.c | 7 |
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(). |