Module Name: src
Committed By: cegger
Date: Fri Jan 7 14:08:29 UTC 2011
Modified Files:
src/sys/dev/acpi: acpi_ec.c
Log Message:
use aprint_error_dev
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/acpi/acpi_ec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/acpi_ec.c
diff -u src/sys/dev/acpi/acpi_ec.c:1.67 src/sys/dev/acpi/acpi_ec.c:1.68
--- src/sys/dev/acpi/acpi_ec.c:1.67 Sun Jun 6 18:56:10 2010
+++ src/sys/dev/acpi/acpi_ec.c Fri Jan 7 14:08:29 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_ec.c,v 1.67 2010/06/06 18:56:10 jruoho Exp $ */
+/* $NetBSD: acpi_ec.c,v 1.68 2011/01/07 14:08:29 cegger Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <[email protected]>.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.67 2010/06/06 18:56:10 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.68 2011/01/07 14:08:29 cegger Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -735,8 +735,8 @@
snprintf(qxx, sizeof(qxx), "_Q%02X", (unsigned int)reg);
rv = AcpiEvaluateObject(sc->sc_ech, qxx, NULL, NULL);
if (rv != AE_OK && rv != AE_NOT_FOUND) {
- aprint_error("%s: GPE query method %s failed: %s",
- device_xname(dv), qxx, AcpiFormatException(rv));
+ aprint_error_dev(dv, "GPE query method %s failed: %s",
+ qxx, AcpiFormatException(rv));
}
goto loop;