summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-01-27 16:15:04 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-01-27 16:15:04 +0000
commit7ab0ec09affe7e4affbbae2a29b215609061b267 (patch)
treef56ae0a991b05e68d75d458c9bff64e2595bb812 /sys
parent4b4759b9628310b4ec0a87b3e636f7a59836f507 (diff)
Unbreak build with ACPI_DEBUG.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpidock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpidock.c b/sys/dev/acpi/acpidock.c
index d4f77c08d9a..49bc2f71e2c 100644
--- a/sys/dev/acpi/acpidock.c
+++ b/sys/dev/acpi/acpidock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidock.c,v 1.10 2007/01/27 11:48:33 mk Exp $ */
+/* $OpenBSD: acpidock.c,v 1.11 2007/01/27 16:15:03 mk Exp $ */
/*
* Copyright (c) 2006,2007 Michael Knudsen <mk@openbsd.org>
*
@@ -213,12 +213,12 @@ acpidock_eject(struct acpidock_softc *sc)
if (aml_evalname(sc->sc_acpi, sc->sc_devnode->parent, "_EJ0", 1, &cmd,
&res) != 0) {
/* XXX */
- dnprintf(15, "%s: _EJ0 %d failed\n", DEVNAME(sc), dock);
+ dnprintf(15, "%s: _EJ0 failed\n", DEVNAME(sc));
aml_freevalue(&res);
return (0);
} else {
- dnprintf(15, "%s: _EJ0 %d successful\n", DEVNAME(sc), dock);
+ dnprintf(15, "%s: _EJ0 successful\n", DEVNAME(sc));
sc->sc_docked = 0;
aml_freevalue(&res);