summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2016-05-23 11:28:57 +0000
committermglocker <mglocker@openbsd.org>2016-05-23 11:28:57 +0000
commitcfc062e64515d47e481caa6b00f5619ec637eb44 (patch)
tree0f2a7fd0ceefc09197959a1a631538b47389cd72 /sys
parentUTF-8 support. (diff)
downloadwireguard-openbsd-cfc062e64515d47e481caa6b00f5619ec637eb44.tar.xz
wireguard-openbsd-cfc062e64515d47e481caa6b00f5619ec637eb44.zip
Fix shutdown sequence.
Diffstat (limited to 'sys')
-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)