summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 19:20:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 19:20:25 +0000
commita41bd31e53cce764c5bc6861ce6be4074cc59551 (patch)
treed2b49bbaa20136a25a6c83a1ef0b3aea3afe9a79 /sys/kern
parent23c1d9562f6c247aef66cf6a54e72e10f9042228 (diff)
All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index 5f7cfb6f0e6..71242e0d59b 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_subr.c,v 1.32 2008/06/12 16:15:49 marco Exp $ */
+/* $OpenBSD: kern_subr.c,v 1.33 2010/09/06 19:20:24 deraadt Exp $ */
/* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */
/*
@@ -307,7 +307,7 @@ dopowerhooks(int why)
int s;
s = splhigh();
- if (why == PWR_RESUME) {
+ if (why == DVACT_RESUME) {
CIRCLEQ_FOREACH_REVERSE(dp, &powerhook_list, sfd_list) {
(*dp->sfd_fn)(why, dp->sfd_arg);
}