diff options
author | msmith <msmith@FreeBSD.org> | 2000-08-31 00:08:50 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-08-31 00:08:50 +0000 |
commit | afc6787158045131a17b21bc5d97f5ab2e957025 (patch) | |
tree | bc8d4fc17933b763fe18328e6b570b77c7f77e9a /sys/dev/syscons/syscons.c | |
parent | 814369526cbe56d7630a8d9534b8d71cb7b12d64 (diff) | |
download | FreeBSD-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/dev/syscons/syscons.c')
-rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 2a447f7..49b8f6c 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -3098,7 +3098,7 @@ next_code: case RBT: #ifndef SC_DISABLE_REBOOT - shutdown_nice(); + shutdown_nice(0); #endif break; |