diff options
Diffstat (limited to 'source/compiler/asloperands.c')
| -rw-r--r-- | source/compiler/asloperands.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c index 174a53ac75ed..913ac90a7abc 100644 --- a/source/compiler/asloperands.c +++ b/source/compiler/asloperands.c @@ -932,13 +932,13 @@ OpnDoDefinitionBlock (      if (Child->Asl.Value.String)      {          Gbl_TableSignature = Child->Asl.Value.String; -        if (strlen (Gbl_TableSignature) != 4) +        if (strlen (Gbl_TableSignature) != ACPI_NAME_SIZE)          {              AslError (ASL_ERROR, ASL_MSG_TABLE_SIGNATURE, Child, -                "Length not exactly 4"); +                "Length is not exactly 4");          } -        for (i = 0; i < 4; i++) +        for (i = 0; i < ACPI_NAME_SIZE; i++)          {              if (!isalnum ((int) Gbl_TableSignature[i]))              { | 
