aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/syscons.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2015-01-27 17:33:18 +0000
committerAndriy Gapon <avg@FreeBSD.org>2015-01-27 17:33:18 +0000
commit85f95fffd78f81cbbb8a948a3789e94f275bd1e2 (patch)
treea3c6b5ecbcaa2b0c648bfbaa993539f42ebe4ab6 /sys/dev/syscons/syscons.c
parent6dfa4578d6458c9531a1b1d9a17563f78751ec38 (diff)
Notes
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r--sys/dev/syscons/syscons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 6a19523ee2ea5..2ab28895a1f49 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -549,7 +549,7 @@ sc_attach_unit(int unit, int flags)
/* Register suspend/resume/shutdown callbacks for the kernel console. */
if (sc_console_unit == unit) {
- EVENTHANDLER_REGISTER(power_suspend, scsuspend, NULL,
+ EVENTHANDLER_REGISTER(power_suspend_early, scsuspend, NULL,
EVENTHANDLER_PRI_ANY);
EVENTHANDLER_REGISTER(power_resume, scresume, NULL,
EVENTHANDLER_PRI_ANY);