Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Fix a comment and some debug printing.



details:   https://anonhg.NetBSD.org/src/rev/1f6788cdc8dd
branches:  trunk
changeset: 755536:1f6788cdc8dd
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Jun 08 18:38:18 2010 +0000

description:
Fix a comment and some debug printing.

diffstat:

 sys/dev/acpi/acpi_power.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ab23adeea543 -r 1f6788cdc8dd sys/dev/acpi/acpi_power.c
--- a/sys/dev/acpi/acpi_power.c Tue Jun 08 18:18:24 2010 +0000
+++ b/sys/dev/acpi/acpi_power.c Tue Jun 08 18:38:18 2010 +0000
@@ -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;
 }



Home | Main Index | Thread Index | Old Index