summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-01-24 21:59:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-01-24 21:59:25 +0000
commit2a36ec35ae0b1e7891ee7d74ea108affc003e10a (patch)
tree404d72ed856eb4484c5ab4e878b89ebc4a244c56 /sys/kern/kern_fork.c
parentc73b94a276b787e6d55e7492bdc0785ca58af32a (diff)
Notes
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 4785a70d93ae..8ad189e4f7e4 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