summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2014-04-13 14:43:01 +0000
committermlarkin <mlarkin@openbsd.org>2014-04-13 14:43:01 +0000
commitd0897ebaa5b61779e6fe996a73d490b17aa880e1 (patch)
treeb135f1d2992997e6caddd25a38c8e4f7fd19b7ab /sys/dev/acpi/acpi.c
parentIn debug output, print loop ids as decimals and port ids as 24bit hex. (diff)
downloadwireguard-openbsd-d0897ebaa5b61779e6fe996a73d490b17aa880e1.tar.xz
wireguard-openbsd-d0897ebaa5b61779e6fe996a73d490b17aa880e1.zip
Fix a badly worded debug message that implied the entire machine was going
to sleep, instead of just the acpi thread going to sleep.
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 9ede71c07a1..759344b4b52 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.255 2014/03/31 12:11:42 mpi Exp $ */
+/* $OpenBSD: acpi.c,v 1.256 2014/04/13 14:43:01 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -2292,7 +2292,7 @@ acpi_thread(void *arg)
while (thread->running) {
s = spltty();
while (sc->sc_threadwaiting) {
- dnprintf(10, "acpi going to sleep...\n");
+ dnprintf(10, "acpi thread going to sleep...\n");
rw_exit_write(&sc->sc_lck);
tsleep(sc, PWAIT, "acpi0", 0);
rw_enter_write(&sc->sc_lck);