diff options
Diffstat (limited to 'source/components/resources/rscreate.c')
-rw-r--r-- | source/components/resources/rscreate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/resources/rscreate.c b/source/components/resources/rscreate.c index 5b47e7e69474..551f59a6534c 100644 --- a/source/components/resources/rscreate.c +++ b/source/components/resources/rscreate.c @@ -374,12 +374,12 @@ AcpiRsCreatePciRoutingTable ( /* +1 to include null terminator */ - UserPrt->Length += (UINT32) ACPI_STRLEN (UserPrt->Source) + 1; + UserPrt->Length += (UINT32) strlen (UserPrt->Source) + 1; break; case ACPI_TYPE_STRING: - ACPI_STRCPY (UserPrt->Source, ObjDesc->String.Pointer); + strcpy (UserPrt->Source, ObjDesc->String.Pointer); /* * Add to the Length field the length of the string |