Module Name:    src
Committed By:   jruoho
Date:           Mon Apr 26 13:38:43 UTC 2010

Modified Files:
        src/sys/dev/acpi: acpi_power.c

Log Message:
Fix typo. Doh.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/sys/dev/acpi/acpi_power.c:1.10
--- src/sys/dev/acpi/acpi_power.c:1.9	Mon Apr 26 12:46:48 2010
+++ src/sys/dev/acpi/acpi_power.c	Mon Apr 26 13:38:42 2010
@@ -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 "

Reply via email to