Skip to content

Commit

Permalink
Revert a clang change for strcpy->UtSafeStrcpy.
Browse files Browse the repository at this point in the history
UtSafeStrcpy pulls in a module that is not part of the kernel.
  • Loading branch information
acpibob committed Oct 23, 2019
1 parent 27d8166 commit 3e0d038
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/components/utilities/utids.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ AcpiUtExecute_CID (
{
/* Copy the String CID from the returned object */

AcpiUtSafeStrcpy (NextIdString, CidObjects[i]->String.Length + 1,
CidObjects[i]->String.Pointer);
strcpy (NextIdString, CidObjects[i]->String.Pointer);
Length = CidObjects[i]->String.Length + 1;
}

Expand Down

0 comments on commit 3e0d038

Please sign in to comment.