Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Correct the type also in the WMI write method.
details: https://anonhg.NetBSD.org/src/rev/98a8cdf5ae2f
branches: trunk
changeset: 751059:98a8cdf5ae2f
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Jan 23 13:32:45 2010 +0000
description:
Correct the type also in the WMI write method.
diffstat:
sys/dev/acpi/wmi_acpi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ed0ac27a1270 -r 98a8cdf5ae2f sys/dev/acpi/wmi_acpi.c
--- a/sys/dev/acpi/wmi_acpi.c Sat Jan 23 12:48:19 2010 +0000
+++ b/sys/dev/acpi/wmi_acpi.c Sat Jan 23 13:32:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wmi_acpi.c,v 1.10 2010/01/23 12:48:19 jruoho Exp $ */
+/* $NetBSD: wmi_acpi.c,v 1.11 2010/01/23 13:32:45 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.10 2010/01/23 12:48:19 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.11 2010/01/23 13:32:45 jruoho Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -697,7 +697,7 @@
obj[1].Buffer.Pointer = ibuf->Pointer;
obj[1].Type = (wmi->guid.flags & ACPI_WMI_FLAG_STRING) ?
- ACPI_TYPE_STRING : ACPI_TYPE_INTEGER;
+ ACPI_TYPE_STRING : ACPI_TYPE_BUFFER;
arg.Count = 0x02;
arg.Pointer = obj;
Home |
Main Index |
Thread Index |
Old Index