summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-09 04:58:49 +0000
committermsmith <msmith@FreeBSD.org>2002-01-09 04:58:49 +0000
commitc2656ac96b01ac240f679622b1c4064d136439b5 (patch)
tree7511272f9de296a16a091a2f3b9ff46e52de9b7d /sys/fs
parentc5438df911e5179a4be306274f29768e82e5a7d6 (diff)
downloadFreeBSD-src-c2656ac96b01ac240f679622b1c4064d136439b5.zip
FreeBSD-src-c2656ac96b01ac240f679622b1c4064d136439b5.tar.gz
Add a new sysinit SI_SUB_DEVFS. Devfs hooks into the kernel at SI_ORDER_FIRST,
and devices can be created anytime after that. Print a warning if an atttempt is made to create a device too early.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_devs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index 4db217d..ef9827c 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -437,6 +437,6 @@ devfs_init(void *junk)
devfs_present = 1;
}
-SYSINIT(devfs, SI_SUB_DRIVERS, SI_ORDER_FIRST, devfs_init, NULL);
+SYSINIT(devfs, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_init, NULL);
#endif
OpenPOWER on IntegriCloud