diff options
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 43bf8238630f6..ac749c44716bb 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);  } | 
