summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslutils.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-10-19 18:47:57 +0000
committerjkim <jkim@FreeBSD.org>2012-10-19 18:47:57 +0000
commitd8cd02b5b5893df382c08566087e32fe5b0c3abb (patch)
tree5e268c18ae0fa3ec73e13e2af60a3be57d8393ec /source/compiler/aslutils.c
parentda9b951a892d96e0521abeec09d4345ddf04ab8d (diff)
downloadFreeBSD-src-d8cd02b5b5893df382c08566087e32fe5b0c3abb.zip
FreeBSD-src-d8cd02b5b5893df382c08566087e32fe5b0c3abb.tar.gz
Import ACPICA 20121018.
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r--source/compiler/aslutils.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c
index 43bf823..ac749c4 100644
--- a/source/compiler/aslutils.c
+++ b/source/compiler/aslutils.c
@@ -1,4 +1,3 @@
-
/******************************************************************************
*
* Module Name: aslutils -- compiler utilities
@@ -54,7 +53,6 @@
ACPI_MODULE_NAME ("aslutils")
-
/* Local prototypes */
static void
@@ -569,7 +567,7 @@ UtCheckIntegerRange (
if (!Op)
{
- return NULL;
+ return (NULL);
}
if ((Op->Asl.Value.Integer < LowValue) ||
@@ -833,12 +831,12 @@ UtAttachNameseg (
Name++;
}
- /* Remaing string should be one single nameseg */
+ /* Remaining string should be one single nameseg */
UtPadNameWithUnderscores (Name, PaddedNameSeg);
}
- strncpy (Op->Asl.NameSeg, PaddedNameSeg, 4);
+ ACPI_MOVE_NAME (Op->Asl.NameSeg, PaddedNameSeg);
}
OpenPOWER on IntegriCloud