diff options
Diffstat (limited to 'sys/fs/devfs/devfs_rule.c')
-rw-r--r-- | sys/fs/devfs/devfs_rule.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/fs/devfs/devfs_rule.c b/sys/fs/devfs/devfs_rule.c index 16b4022..366fd84 100644 --- a/sys/fs/devfs/devfs_rule.c +++ b/sys/fs/devfs/devfs_rule.c @@ -146,8 +146,8 @@ devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de) /* * Rule subsystem SYSINIT hook. */ -void -devfs_rules_init(void) +static void +devfs_rules_init(void *junk __unused) { struct devfs_ruleset *ds; @@ -158,6 +158,8 @@ devfs_rules_init(void) ds->ds_refcount = 1; /* Prevent reaping. */ } +SYSINIT(devfs_rules, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_rules_init, NULL); + /* * Rule subsystem ioctl hook. */ |