diff options
Diffstat (limited to 'source/common/dmrestag.c')
| -rw-r--r-- | source/common/dmrestag.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/common/dmrestag.c b/source/common/dmrestag.c index 689240a3b674..c10c364200f0 100644 --- a/source/common/dmrestag.c +++ b/source/common/dmrestag.c @@ -679,10 +679,10 @@ AcpiGetTagPathname ( * end up in the final compiled AML, it's just an appearance issue for the * disassembled code. */ - Pathname[ACPI_STRLEN (Pathname) - ACPI_NAME_SIZE] = 0; - ACPI_STRNCAT (Pathname, ResourceNode->Name.Ascii, ACPI_NAME_SIZE); - ACPI_STRCAT (Pathname, "."); - ACPI_STRNCAT (Pathname, Tag, ACPI_NAME_SIZE); + Pathname[strlen (Pathname) - ACPI_NAME_SIZE] = 0; + strncat (Pathname, ResourceNode->Name.Ascii, ACPI_NAME_SIZE); + strcat (Pathname, "."); + strncat (Pathname, Tag, ACPI_NAME_SIZE); /* Internalize the namepath to AML format */ |
