diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 |
commit | 31aa864e8c068201d58aad3a8f82ddb51df11015 (patch) | |
tree | 5e268c18ae0fa3ec73e13e2af60a3be57d8393ec /source/compiler/aslutils.c | |
parent | ebef5c959a0ea58fa05c4a5a80bb93104780bf87 (diff) | |
download | src-31aa864e8c068201d58aad3a8f82ddb51df11015.tar.gz src-31aa864e8c068201d58aad3a8f82ddb51df11015.zip |
Import ACPICA 20121018.vendor/acpica/20121018
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=241746
svn path=/vendor-sys/acpica/20121018/; revision=241747; tag=vendor/acpica/20121018
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r-- | source/compiler/aslutils.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c index 43bf8238630f..ac749c44716b 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); } |