summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcvt/pcvt_kbd.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-08-31 00:08:50 +0000
committermsmith <msmith@FreeBSD.org>2000-08-31 00:08:50 +0000
commitafc6787158045131a17b21bc5d97f5ab2e957025 (patch)
treebc8d4fc17933b763fe18328e6b570b77c7f77e9a /sys/i386/isa/pcvt/pcvt_kbd.c
parent814369526cbe56d7630a8d9534b8d71cb7b12d64 (diff)
downloadFreeBSD-src-afc6787158045131a17b21bc5d97f5ab2e957025.zip
FreeBSD-src-afc6787158045131a17b21bc5d97f5ab2e957025.tar.gz
Make it possible to pass boot()'s flags to shutdown_nice() so that the
kernel can instigate an orderly shutdown but still determine the form of that shutdown. Make it possible eg. to cleanly shutdown and power off the system under ACPI when the power button is pressed.
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_kbd.c')
-rw-r--r--sys/i386/isa/pcvt/pcvt_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_kbd.c b/sys/i386/isa/pcvt/pcvt_kbd.c
index 85296a1..f7f946d 100644
--- a/sys/i386/isa/pcvt/pcvt_kbd.c
+++ b/sys/i386/isa/pcvt/pcvt_kbd.c
@@ -938,7 +938,7 @@ scroll_reset:
#if PCVT_CTRL_ALT_DEL /* Check for cntl-alt-del */
if((key == 76) && ctrl_down && (meta_down||altgr_down))
- shutdown_nice();
+ shutdown_nice(0);
#endif /* PCVT_CTRL_ALT_DEL */
#if defined(DDB) /* Check for cntl-alt-esc */
OpenPOWER on IntegriCloud