summaryrefslogtreecommitdiff
path: root/sys/kern/kern_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r--sys/kern/kern_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index e39f56aec03e..677d9f15fe4c 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -74,7 +74,7 @@ module_init(void *arg)
sx_init(&modules_sx, "module subsystem sx lock");
TAILQ_INIT(&modules);
- EVENTHANDLER_REGISTER(shutdown_post_sync, module_shutdown, NULL,
+ EVENTHANDLER_REGISTER(shutdown_final, module_shutdown, NULL,
SHUTDOWN_PRI_DEFAULT);
}