From: deraadt Date: Mon, 19 Jul 2010 16:58:12 +0000 (+0000) Subject: permit compilation with ACPI_DEBUG X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8861554a0ee654b172d149052d968d2f8a773181;p=openbsd permit compilation with ACPI_DEBUG --- diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index dcbe346b8ab..fba9d4bc069 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.179 2010/07/19 16:57:27 deraadt Exp $ */ +/* $OpenBSD: acpi.c,v 1.180 2010/07/19 16:58:12 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -527,7 +527,7 @@ acpi_matchhids(struct acpi_attach_args *aa, const char *hids[], if (aa->aaa_dev == NULL || aa->aaa_node == NULL) return (0); if (_acpi_matchhids(aa->aaa_dev, hids)) { - dnprintf(5, "driver %s matches %s\n", driver, hids[i]); + dnprintf(5, "driver %s matches %s\n", driver, hids); return (1); } return (0);