diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-09-29 17:08:30 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-09-29 17:08:30 +0000 |
| commit | 2c673001fb88105f2d160032c4d4b76cb518e37f (patch) | |
| tree | 3fc3b6aef8822267bd455907a6fce55c3f98b2ed /source/compiler/dtio.c | |
| parent | 0810e26699e1b40b9384eca2137be6155de0a5ba (diff) | |
Notes
Diffstat (limited to 'source/compiler/dtio.c')
| -rw-r--r-- | source/compiler/dtio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/compiler/dtio.c b/source/compiler/dtio.c index 0112999ef5a1..1d8ee98bfc1a 100644 --- a/source/compiler/dtio.c +++ b/source/compiler/dtio.c @@ -150,7 +150,6 @@ *****************************************************************************/ #include "aslcompiler.h" -#include "dtcompiler.h" #include "acapps.h" #define _COMPONENT DT_COMPILER @@ -239,7 +238,7 @@ DtTrim ( if (!strcmp (String, " ")) { - ReturnString = UtStringCacheCalloc (1); + ReturnString = UtLocalCacheCalloc (1); return (ReturnString); } @@ -287,7 +286,7 @@ DtTrim ( /* Create the trimmed return string */ Length = ACPI_PTR_DIFF (End, Start) + 1; - ReturnString = UtStringCacheCalloc (Length + 1); + ReturnString = UtLocalCacheCalloc (Length + 1); if (strlen (Start)) { strncpy (ReturnString, Start, Length); |
