diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 7f6be260e9a1..9f19669a5649 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -649,7 +649,7 @@ fork_exit(callout, arg, frame) /* * Setup the sched_lock state so that we can release it. */ - sched_lock.mtx_lock = curproc; + sched_lock.mtx_lock = (uintptr_t)curproc; sched_lock.mtx_recurse = 0; mtx_unlock_spin(&sched_lock); /* |