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 previous. Not my day.
details: https://anonhg.NetBSD.org/src/rev/d2df1ddf7e36
branches: trunk
changeset: 762537:d2df1ddf7e36
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Feb 22 17:19:58 2011 +0000
description:
Fix previous. Not my day.
diffstat:
sys/dev/acpi/acpi_cpu_cstate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cb92475b759d -r d2df1ddf7e36 sys/dev/acpi/acpi_cpu_cstate.c
--- a/sys/dev/acpi/acpi_cpu_cstate.c Tue Feb 22 17:16:04 2011 +0000
+++ b/sys/dev/acpi/acpi_cpu_cstate.c Tue Feb 22 17:19:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.42 2011/02/22 17:16:04 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.43 2011/02/22 17:19:58 jruoho Exp $ */
/*-
* Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.42 2011/02/22 17:16:04 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.43 2011/02/22 17:19:58 jruoho Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -465,7 +465,7 @@
goto out;
}
- if (cs[type].cs_method != 0) {
+ if (cs[i].cs_method != 0) {
rv = AE_ALREADY_EXISTS;
goto out;
}
Home |
Main Index |
Thread Index |
Old Index