Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 21:36:47 +0000
From:      Ahmad Khalifa <vexeduxr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e72c59315e7a - main - vt_core: delay the shutdown splash event handler
Message-ID:  <69ed33ef.3b8ef.3ea9cd3b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vexeduxr:

URL: https://cgit.FreeBSD.org/src/commit/?id=e72c59315e7a2bedd654ac7c6e82dd3ceba30ed2

commit e72c59315e7a2bedd654ac7c6e82dd3ceba30ed2
Author:     Ahmad Khalifa <vexeduxr@FreeBSD.org>
AuthorDate: 2026-04-20 20:11:27 +0000
Commit:     Ahmad Khalifa <vexeduxr@FreeBSD.org>
CommitDate: 2026-04-25 21:35:07 +0000

    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
---
 sys/dev/vt/vt_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 			}
 		}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ed33ef.3b8ef.3ea9cd3b>