diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-13 09:09:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-13 09:09:17 +0000 |
commit | 6cc6e9954a3db49f93dea8de924444001078fe20 (patch) | |
tree | b08c209b07fe01023b5b1774b2f114b9853ca2ee /sys | |
parent | 14cbe882e88d08b089a5babbabb4d98a1abe9c1c (diff) |
One missing boot -> prsignal(initprocess) conversion
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/dev/power.c | 4 |
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); } |