summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2002-05-02 20:27:42 +0000
committerMaxime Henrion <mux@FreeBSD.org>2002-05-02 20:27:42 +0000
commit6dbde1fe2380619c188705375b6a182de08ff5a3 (patch)
tree2d51ebb2618b2c828aa7cfbcc1ec123b06676353 /sys/kern/init_main.c
parent8392a47923d073ad866e08187d2a4b6345aa03d0 (diff)
Notes
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 6e9793dd9ca7..20477ffc527c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -510,7 +510,8 @@ start_init(void *dummy)
if (error == EEXIST)
error = 0;
if (error == 0)
- error = vfs_mount(td, "devfs", "/dev", 0, 0);
+ error = kernel_vmount(0, "fstype", "devfs",
+ "fspath", "/dev", NULL);
if (error != 0)
init_does_devfs = 1;
}