summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-03-09 05:24:04 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-03-09 05:24:04 +0000
commite3d547ead85fa8ed6098c299854a87c01f4593f2 (patch)
tree7ebe344aacc8d11de0ce90aa90ea0df26ecf6d5a /sys/dev/acpi
parent61807489d15951334d6341d90d8fe8e7726df9f0 (diff)
Remove bad XXX
ok jordan
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/dsdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 66cc287b875..c9d0c33035d 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.36 2006/03/09 05:17:24 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.37 2006/03/09 05:24:03 marco Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -480,7 +480,7 @@ aml_allocvalue(int type, int64_t ival, void *bval)
if (ival) {
rv->v_string = acpi_os_allocmem(ival + 1);
if (bval)
- strncpy(rv->v_string, bval, ival); /* XXX */
+ strncpy(rv->v_string, bval, ival);
}
break;
case AML_OBJTYPE_BUFFER: