Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Convert aprint_error(9) to ACPI_DEBUG_PRINT.
details: https://anonhg.NetBSD.org/src/rev/9db8ec204b23
branches: trunk
changeset: 760630:9db8ec204b23
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jan 09 16:22:07 2011 +0000
description:
Convert aprint_error(9) to ACPI_DEBUG_PRINT.
diffstat:
sys/dev/acpi/acpi_power.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 4b87c6b7a3aa -r 9db8ec204b23 sys/dev/acpi/acpi_power.c
--- a/sys/dev/acpi/acpi_power.c Sun Jan 09 16:15:25 2011 +0000
+++ b/sys/dev/acpi/acpi_power.c Sun Jan 09 16:22:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_power.c,v 1.28 2011/01/09 16:15:25 jruoho Exp $ */
+/* $NetBSD: acpi_power.c,v 1.29 2011/01/09 16:22:07 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.28 2011/01/09 16:15:25 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.29 2011/01/09 16:22:07 jruoho Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -264,8 +264,8 @@
if (state != NULL)
*state = ad->ad_state;
- aprint_error_dev(ad->ad_root, "failed to get power state "
- "for %s: %s\n", ad->ad_name, AcpiFormatException(rv));
+ ACPI_DEBUG_PRINT((ACPI_DB_INFO, "failed to get power state "
+ "for %s: %s\n", ad->ad_name, AcpiFormatException(rv)));
return false;
}
Home |
Main Index |
Thread Index |
Old Index