summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-02-21 13:09:21 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-02-21 13:09:21 +0000
commitac3f38197e3e93b93a72338c61b2f56f4fce7c18 (patch)
tree83514b585926a770f2194d0321fd5ac11f64dc09 /sys/dev/acpi/acpi.c
parent4e04a6d8d082537e6d0d5d3c51fceedbde1f44cb (diff)
overzealous cut/paste; found by Vladimir Kirillov <proger@uaoug.org.ua>
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 1cd4effcee9..f4ed3429dab 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.131 2009/02/20 20:08:26 marco Exp $ */
+/* $OpenBSD: acpi.c,v 1.132 2009/02/21 13:09:20 marco Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -1798,7 +1798,7 @@ acpi_resume(struct acpi_softc *sc)
sc->sc_state = ACPI_STATE_S0;
if (sc->sc_tts) {
env.v_integer = sc->sc_state;
- if (aml_evalnode(sc, sc->sc_wak, 1, &env, NULL) != 0) {
+ if (aml_evalnode(sc, sc->sc_tts, 1, &env, NULL) != 0) {
dnprintf(10, "%s evaluating method _TTS failed.\n",
DEVNAME(sc));
}