diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 |
commit | 8811b910b092027f905013bced1da3e87c6b07b9 (patch) | |
tree | b0c56a23f2d8877b9431deb3cab73df3c1913fb7 /source/compiler/dttable.c | |
parent | 0c85196b0c51b4e5eba8fcace026f947f9112c9e (diff) |
Notes
Diffstat (limited to 'source/compiler/dttable.c')
-rw-r--r-- | source/compiler/dttable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/dttable.c b/source/compiler/dttable.c index d7b2e90f3949..22b4c9c4c165 100644 --- a/source/compiler/dttable.c +++ b/source/compiler/dttable.c @@ -1824,7 +1824,7 @@ DtCompileIvrs ( if (IvrsHeader->Type == ACPI_IVRS_TYPE_HARDWARE) { while (*PFieldList && - !ACPI_STRCMP ((*PFieldList)->Name, "Entry Type")) + !strcmp ((*PFieldList)->Name, "Entry Type")) { SubtableStart = *PFieldList; DtCompileInteger (&EntryType, *PFieldList, 1, 0); @@ -3403,13 +3403,13 @@ DtCompileGeneric ( /* Now we can actually compile the parse tree */ - if (*Length) + if (Length && *Length) { *Length = 0; } while (*PFieldList) { - if (Name && !ACPI_STRCMP ((*PFieldList)->Name, Name)) + if (Name && !strcmp ((*PFieldList)->Name, Name)) { break; } |