summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-11 08:18:30 +0000
committerguenther <guenther@openbsd.org>2014-07-11 08:18:30 +0000
commitde4108ea246ca18ecf2b1c2da217fe05eaa13f68 (patch)
tree050306084aa3b18ca1e775ac2f7dc14097b67947 /sys/dev/acpi/acpi.c
parentNo need to keep ssl23_foo() flavours mapping to ssl3_foo(). (diff)
downloadwireguard-openbsd-de4108ea246ca18ecf2b1c2da217fe05eaa13f68.tar.xz
wireguard-openbsd-de4108ea246ca18ecf2b1c2da217fe05eaa13f68.zip
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/dev/acpi/acpi.c')
-rw-r--r--sys/dev/acpi/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index a561faaadee..b6a5c155c66 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.262 2014/07/11 03:06:08 mlarkin Exp $ */
+/* $OpenBSD: acpi.c,v 1.263 2014/07/11 08:18:31 guenther Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -1628,7 +1628,7 @@ acpi_powerdown_task(void *arg0, int dummy)
if (allowpowerdown == 1) {
allowpowerdown = 0;
- psignal(initproc, SIGUSR2);
+ prsignal(initprocess, SIGUSR2);
}
}