summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 4785a70..8ad189e 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -645,7 +645,7 @@ void
fork_exit(callout, arg, frame)
void *callout(void *, struct trapframe *);
void *arg;
- struct trapframe frame;
+ struct trapframe *frame;
{
struct proc *p;
@@ -666,7 +666,7 @@ fork_exit(callout, arg, frame)
* have this call a non-return function to stay in kernel mode.
* initproc has its own fork handler, but it does return.
*/
- (*callout)(arg, &frame);
+ (*callout)(arg, frame);
/*
* Check if a kernel thread misbehaved and returned from its main
OpenPOWER on IntegriCloud