aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Khalifa <vexeduxr@FreeBSD.org>2026-04-20 20:11:27 +0000
committerAhmad Khalifa <vexeduxr@FreeBSD.org>2026-04-25 21:35:07 +0000
commite72c59315e7a2bedd654ac7c6e82dd3ceba30ed2 (patch)
treeb3b3e71e86162e9cf50adce816c44e02775900df
parentba7f47d47dc1a177e4d8f115f791ec25f3da0eab (diff)
vt_core: delay the shutdown splash event handler
Even though the functions are currently executed in the correct order, there's no garuntee that this will always be the case. Reported by: kevans Discussed with: kevans Fixes: 4b862c713ac5556ab4bd1828b47c5eb9cb28e067 MFC after: 3 days
-rw-r--r--sys/dev/vt/vt_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 0ca4bb8d4d49..ef8926a76286 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -3193,7 +3193,7 @@ vt_upgrade(struct vt_device *vd)
vt_window_switch, vw, SHUTDOWN_PRI_DEFAULT);
#ifdef DEV_SPLASH
EVENTHANDLER_REGISTER(shutdown_pre_sync,
- vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT);
+ vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT + 1);
#endif
}
}