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 wrong return value.
details: https://anonhg.NetBSD.org/src/rev/904dca214d26
branches: trunk
changeset: 756617:904dca214d26
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon Jul 26 15:14:33 2010 +0000
description:
Fix wrong return value.
diffstat:
sys/dev/acpi/acpi_cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 416ecc7072a3 -r 904dca214d26 sys/dev/acpi/acpi_cpu.c
--- a/sys/dev/acpi/acpi_cpu.c Mon Jul 26 14:53:52 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu.c Mon Jul 26 15:14:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu.c,v 1.7 2010/07/25 17:44:01 jruoho Exp $ */
+/* $NetBSD: acpi_cpu.c,v 1.8 2010/07/26 15:14:33 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.c,v 1.7 2010/07/25 17:44:01 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu.c,v 1.8 2010/07/26 15:14:33 jruoho Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -227,7 +227,7 @@
rv = acpi_eval_struct(hdl, NULL, &buf);
if (ACPI_FAILURE(rv))
- return 0;
+ return 1;
obj = buf.Pointer;
Home |
Main Index |
Thread Index |
Old Index