Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi use aprint_error_dev
details: https://anonhg.NetBSD.org/src/rev/0e106a5d319c
branches: trunk
changeset: 760556:0e106a5d319c
user: cegger <cegger%NetBSD.org@localhost>
date: Fri Jan 07 14:08:29 2011 +0000
description:
use aprint_error_dev
diffstat:
sys/dev/acpi/acpi_ec.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r dcee3097685b -r 0e106a5d319c sys/dev/acpi/acpi_ec.c
--- a/sys/dev/acpi/acpi_ec.c Fri Jan 07 12:18:25 2011 +0000
+++ b/sys/dev/acpi/acpi_ec.c Fri Jan 07 14:08:29 2011 +0000
@@ -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 <joerg%NetBSD.org@localhost>.
@@ -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;
Home |
Main Index |
Thread Index |
Old Index