aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2022-01-29 22:07:06 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2022-02-13 13:07:08 +0000
commit893d20c95ade6ae4b6a514bb003457ce8f2959fd (patch)
treed2d133e2c6cf8693ec0091e7ed3b4b2e2e9be758 /sys/kern/init_main.c
parent4103c3cd5b8d1e04844f24720fe1a5de3f2206c7 (diff)
downloadsrc-893d20c95ade6ae4b6a514bb003457ce8f2959fd.tar.gz
src-893d20c95ade6ae4b6a514bb003457ce8f2959fd.zip
fd: move fd table sizing out of fdinit
now it is placed with the rest of actual initialisation
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 5ab9eed6a114..2225c5ed95d5 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -568,7 +568,7 @@ proc0_init(void *dummy __unused)
/* Create the file descriptor table. */
p->p_pd = pdinit(NULL, false);
- p->p_fd = fdinit(NULL, false, NULL);
+ p->p_fd = fdinit();
p->p_fdtol = NULL;
/* Create the limits structures. */