summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2016-05-23 11:28:58 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2016-05-23 11:28:58 +0000
commitdbcfa162f648c36900f3a974b31c7e07fc5bff67 (patch)
tree73ec81d3235ecceea6f82d1984f95e3ebe028ee4 /sys/arch/macppc
parent7927ad60d752f4ce8ac9654ffe9adcaaf2ea83ad (diff)
Fix shutdown sequence.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/thermal.c b/sys/arch/macppc/dev/thermal.c
index 80eed28e206..a7d7dbd80c0 100644
--- a/sys/arch/macppc/dev/thermal.c
+++ b/sys/arch/macppc/dev/thermal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: thermal.c,v 1.3 2016/05/23 04:52:50 mglocker Exp $ */
+/* $OpenBSD: thermal.c,v 1.4 2016/05/23 11:28:57 mglocker Exp $ */
/*-
* Copyright (c) 2009-2011 Nathan Whitehorn
@@ -129,7 +129,7 @@ thermal_manage_fans(void)
"shutting down!\n",
sensor->sensor->name,
sensor->critical_count);
- boot(RB_POWERDOWN);
+ reboot(RB_HALT | RB_POWERDOWN | RB_TIMEBAD);
}
} else {
if (sensor->critical_count > 0)