summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2015-07-17 20:15:53 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2015-07-17 20:15:53 +0000
commitd8ffa9d3103f6a9bb6ea9f924e51454dc8927283 (patch)
tree68124491480b38f0ff7e0d272d30250b62ceda13 /sys/dev
parent11c4a350023d744f5b50bf3bbfb93c7f64550c88 (diff)
fix compilation with ACPI_DEBUG
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpiac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiac.c b/sys/dev/acpi/acpiac.c
index 48b13b5cb1a..0e502a7111d 100644
--- a/sys/dev/acpi/acpiac.c
+++ b/sys/dev/acpi/acpiac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiac.c,v 1.29 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: acpiac.c,v 1.30 2015/07/17 20:15:52 jcs Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -124,7 +124,7 @@ acpiac_notify(struct aml_node *node, int notify_type, void *arg)
struct acpiac_softc *sc = arg;
dnprintf(10, "acpiac_notify: %.2x %s\n", notify_type,
- sc->sc_devnode->name);
+ DEVNAME(sc));
switch (notify_type) {
case 0x00: