diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 36608d1f52b8..52c6f167f753 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -265,7 +265,8 @@ init_param2(long physpages) if (maxfiles > (physpages / 4)) maxfiles = physpages / 4; maxfilesperproc = (maxfiles / 10) * 9; - + TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc); + /* * Cannot be changed after boot. */