summaryrefslogtreecommitdiff
path: root/source/compiler/dtfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtfield.c')
-rw-r--r--source/compiler/dtfield.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c
index 50d484c9f452..a9d56cab7f5c 100644
--- a/source/compiler/dtfield.c
+++ b/source/compiler/dtfield.c
@@ -280,8 +280,8 @@ DtCompileString (
if (Length > ByteLength)
{
- sprintf (MsgBuffer, "Maximum %u characters", ByteLength);
- DtError (ASL_ERROR, ASL_MSG_STRING_LENGTH, Field, MsgBuffer);
+ sprintf (AslGbl_MsgBuffer, "Maximum %u characters", ByteLength);
+ DtError (ASL_ERROR, ASL_MSG_STRING_LENGTH, Field, AslGbl_MsgBuffer);
Length = ByteLength;
}
@@ -360,8 +360,8 @@ DtCompileUuid (
Status = AuValidateUuid (InString);
if (ACPI_FAILURE (Status))
{
- sprintf (MsgBuffer, "%s", Field->Value);
- DtNameError (ASL_ERROR, ASL_MSG_INVALID_UUID, Field, MsgBuffer);
+ sprintf (AslGbl_MsgBuffer, "%s", Field->Value);
+ DtNameError (ASL_ERROR, ASL_MSG_INVALID_UUID, Field, AslGbl_MsgBuffer);
}
else
{
@@ -462,9 +462,9 @@ DtCompileInteger (
if (Value > MaxValue)
{
- sprintf (MsgBuffer, "%8.8X%8.8X - max %u bytes",
+ sprintf (AslGbl_MsgBuffer, "%8.8X%8.8X - max %u bytes",
ACPI_FORMAT_UINT64 (Value), ByteLength);
- DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, MsgBuffer);
+ DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, AslGbl_MsgBuffer);
}
memcpy (Buffer, &Value, ByteLength);
@@ -712,8 +712,8 @@ DtCompileFlag (
if (Value >= ((UINT64) 1 << BitLength))
{
- sprintf (MsgBuffer, "Maximum %u bit", BitLength);
- DtError (ASL_ERROR, ASL_MSG_FLAG_VALUE, Field, MsgBuffer);
+ sprintf (AslGbl_MsgBuffer, "Maximum %u bit", BitLength);
+ DtError (ASL_ERROR, ASL_MSG_FLAG_VALUE, Field, AslGbl_MsgBuffer);
Value = 0;
}