summaryrefslogtreecommitdiff
path: root/source/compiler/aslprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslprintf.c')
-rw-r--r--source/compiler/aslprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslprintf.c b/source/compiler/aslprintf.c
index e5f56f11fd93..48c2fb1fe53d 100644
--- a/source/compiler/aslprintf.c
+++ b/source/compiler/aslprintf.c
@@ -293,7 +293,7 @@ OpcParsePrintf (
if (StringToProcess)
{
- NewString = UtStringCacheCalloc (StringLength + 1);
+ NewString = UtLocalCacheCalloc (StringLength + 1);
strncpy (NewString, StartPosition, StringLength);
NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL);
@@ -382,7 +382,7 @@ OpcParsePrintf (
if (StringToProcess)
{
- NewString = UtStringCacheCalloc (StringLength + 1);
+ NewString = UtLocalCacheCalloc (StringLength + 1);
strncpy (NewString, StartPosition, StringLength);
NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL);