diff options
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r-- | sys/kern/kern_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 8ad189e..2e2318f 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -643,7 +643,7 @@ rm_at_fork(function) */ void fork_exit(callout, arg, frame) - void *callout(void *, struct trapframe *); + void (*callout)(void *, struct trapframe *); void *arg; struct trapframe *frame; { @@ -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 |