diff options
Diffstat (limited to 'source/compiler/dtfield.c')
-rw-r--r-- | source/compiler/dtfield.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c index 74ebf570bfb2..1f7167618dc4 100644 --- a/source/compiler/dtfield.c +++ b/source/compiler/dtfield.c @@ -280,7 +280,9 @@ DtCompileString ( if (Length > ByteLength) { - sprintf (AslGbl_MsgBuffer, "Maximum %u characters", ByteLength); + sprintf (AslGbl_MsgBuffer, + "Maximum %u characters, found %u characters [%s]", + ByteLength, Length, Field->Value); DtError (ASL_ERROR, ASL_MSG_STRING_LENGTH, Field, AslGbl_MsgBuffer); Length = ByteLength; } |