summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpibtn.c
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2006-02-20 04:59:44 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2006-02-20 04:59:44 +0000
commit8073055ad7576372479ef1bfc32ebebaef9d6da6 (patch)
treeee450763884f8ca2427a951e092048998aebb367 /sys/dev/acpi/acpibtn.c
parent628343c4d15f00ecaf153c3d2f54f43c0185007d (diff)
Display device name for button attach
ok marco@
Diffstat (limited to 'sys/dev/acpi/acpibtn.c')
-rw-r--r--sys/dev/acpi/acpibtn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpibtn.c b/sys/dev/acpi/acpibtn.c
index cbd4895c3f6..fb22bac3ce1 100644
--- a/sys/dev/acpi/acpibtn.c
+++ b/sys/dev/acpi/acpibtn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpibtn.c,v 1.1 2006/02/20 00:48:10 marco Exp $ */
+/* $OpenBSD: acpibtn.c,v 1.2 2006/02/20 04:59:43 jordan Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -92,7 +92,7 @@ acpibtn_attach(struct device *parent, struct device *self, void *aux)
acpibtn_getsta(sc);
/* XXX print which buttons are available and state */
- printf("\n");
+ printf(": %s\n", sc->sc_devnode->parent->name);
aml_register_notify(sc->sc_devnode->parent, acpibtn_notify, sc);