summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-07-13 09:09:16 +0000
committermiod <miod@openbsd.org>2014-07-13 09:09:16 +0000
commitcc18e21da08266e0a02ba6982dc09e535f72cb7b (patch)
tree5efbf9f17d722112fada9ad12db548533d6bbb3c
parentThese still need <sys/reboot.h> for the RB_ constants. (diff)
downloadwireguard-openbsd-cc18e21da08266e0a02ba6982dc09e535f72cb7b.tar.xz
wireguard-openbsd-cc18e21da08266e0a02ba6982dc09e535f72cb7b.zip
One missing boot -> prsignal(initprocess) conversion
-rw-r--r--sys/arch/hppa/dev/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/power.c b/sys/arch/hppa/dev/power.c
index d13bdbef42f..d37ae786860 100644
--- a/sys/arch/hppa/dev/power.c
+++ b/sys/arch/hppa/dev/power.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: power.c,v 1.8 2014/07/12 20:18:08 uebayasi Exp $ */
+/* $OpenBSD: power.c,v 1.9 2014/07/13 09:09:16 miod Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -172,7 +172,7 @@ power_thread_reg(void *v)
: "=&r" (r) : "r" (sc->sc_pwr_reg));
if (!(r & 1))
- boot(RB_POWERDOWN | RB_HALT);
+ prsignal(initprocess, SIGUSR2);
tsleep(v, PWAIT, "regpower", 10);
}