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 typo. Doh.



details:   https://anonhg.NetBSD.org/src/rev/a0317d004883
branches:  trunk
changeset: 754289:a0317d004883
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Apr 26 13:38:42 2010 +0000

description:
Fix typo. Doh.

diffstat:

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

diffs (27 lines):

diff -r cc90be55c616 -r a0317d004883 sys/dev/acpi/acpi_power.c
--- a/sys/dev/acpi/acpi_power.c Mon Apr 26 13:30:31 2010 +0000
+++ b/sys/dev/acpi/acpi_power.c Mon Apr 26 13:38:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_power.c,v 1.9 2010/04/26 12:46:48 jruoho Exp $ */
+/* $NetBSD: acpi_power.c,v 1.10 2010/04/26 13:38:42 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.9 2010/04/26 12:46:48 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.10 2010/04/26 13:38:42 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -651,7 +651,7 @@
        return AE_OK;
 
 fail:
-       if (rv == AE_CTRL_CTRL_FALSE)
+       if (rv == AE_CTRL_FALSE)
                rv = AE_ERROR;
 
        ACPI_DEBUG_PRINT((ACPI_DB_DEBUG_OBJECT, "failed to evaluate _STA "



Home | Main Index | Thread Index | Old Index