diff options
Diffstat (limited to 'sys/kern/kern_fork.c')
-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 cbcb25a..8fa8ce2 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -534,7 +534,7 @@ again: /* * p_limit is copy-on-write. Bump its refcount. */ - p2->p_limit = lim_hold(p1->p_limit); + lim_fork(p1, p2); pstats_fork(p1->p_stats, p2->p_stats); |