summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/hpc/panel.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-11 08:18:32 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-11 08:18:32 +0000
commit72f63f7fdd6631099e1fa845fd2628190c5698ad (patch)
tree2bd39c514f4dad3bcd9106a2fcf3d5a3fba4fb9c /sys/arch/sgi/hpc/panel.c
parent39c8d65399e70823da4c8e62927c33c3f8331158 (diff)
It's init as a process that's special, not init's original thread.
Remember initprocess instead of initproc. ok matthew@ blambert@
Diffstat (limited to 'sys/arch/sgi/hpc/panel.c')
-rw-r--r--sys/arch/sgi/hpc/panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/hpc/panel.c b/sys/arch/sgi/hpc/panel.c
index 2e4e1ed5467..b4fdc9dca61 100644
--- a/sys/arch/sgi/hpc/panel.c
+++ b/sys/arch/sgi/hpc/panel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: panel.c,v 1.2 2013/11/04 11:57:26 mpi Exp $ */
+/* $OpenBSD: panel.c,v 1.3 2014/07/11 08:18:31 guenther Exp $ */
/*
* Copyright (c) 2012 Miodrag Vallat.
@@ -150,7 +150,7 @@ panel_intr(void *v)
(reg & IOC_PANEL_POWER_IRQ) == 0) {
if (allowpowerdown == 1) {
allowpowerdown = 0;
- psignal(initproc, SIGUSR2);
+ prsignal(initprocess, SIGUSR2);
}
}