Module Name: src Committed By: jruoho Date: Tue Jun 8 18:38:18 UTC 2010
Modified Files: src/sys/dev/acpi: acpi_power.c Log Message: Fix a comment and some debug printing. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/acpi/acpi_power.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_power.c diff -u src/sys/dev/acpi/acpi_power.c:1.18 src/sys/dev/acpi/acpi_power.c:1.19 --- src/sys/dev/acpi/acpi_power.c:1.18 Tue Jun 8 18:18:24 2010 +++ src/sys/dev/acpi/acpi_power.c Tue Jun 8 18:38:18 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_power.c,v 1.18 2010/06/08 18:18:24 jruoho Exp $ */ +/* $NetBSD: acpi_power.c,v 1.19 2010/06/08 18:38:18 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.18 2010/06/08 18:18:24 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.19 2010/06/08 18:38:18 jruoho Exp $"); #include <sys/param.h> #include <sys/kmem.h> @@ -250,7 +250,7 @@ /* * Because the _PSC control method, like _STA, * is known to be implemented incorrectly in - * many systems, we first try to retrieve the + * some systems, we first try to retrieve the * power state indirectly via power resources. */ rv = acpi_power_get_indirect(ad); @@ -548,7 +548,7 @@ mutex_exit(&res->res_mutex); ACPI_DEBUG_PRINT((ACPI_DB_INFO, "%s referenced " - "by %s?\n", res->res_name, acpi_xname(hdl))); + "by %s\n", res->res_name, acpi_xname(hdl))); return AE_OK; @@ -599,7 +599,7 @@ mutex_exit(&res->res_mutex); ACPI_DEBUG_PRINT((ACPI_DB_INFO, "%s dereferenced " - "by %s?\n", res->res_name, acpi_xname(hdl))); + "by %s\n", res->res_name, acpi_xname(hdl))); return AE_OK; }