summaryrefslogtreecommitdiff
path: root/source/compiler/aslfileio.c
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2014-11-20 13:53:11 -0800
committerRobert Moore <Robert.Moore@intel.com>2014-11-20 13:53:11 -0800
commitc14c99da47cf669b656827381f0ffc729bbe0f07 (patch)
tree5f85bd61a857e1da40f1775e57af7b087a79f43d /source/compiler/aslfileio.c
parent2ea59729b262796bc881756d260e0e89238401a3 (diff)
downloadacpica-c14c99da47cf669b656827381f0ffc729bbe0f07.tar.gz
iASL: Add description of file types for file open errors.
Emit the existing description field of the internal file descriptor for errors concerning the opening of the standard in/out files.
Diffstat (limited to 'source/compiler/aslfileio.c')
-rw-r--r--source/compiler/aslfileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslfileio.c b/source/compiler/aslfileio.c
index b2c25fcd6..1873d00bd 100644
--- a/source/compiler/aslfileio.c
+++ b/source/compiler/aslfileio.c
@@ -140,8 +140,8 @@ FlFileError (
UINT8 ErrorId)
{
- sprintf (MsgBuffer, "\"%s\" (%s)", Gbl_Files[FileId].Filename,
- strerror (errno));
+ sprintf (MsgBuffer, "\"%s\" (%s) - %s", Gbl_Files[FileId].Filename,
+ Gbl_Files[FileId].Description, strerror (errno));
AslCommonError (ASL_ERROR, ErrorId, 0, 0, 0, 0, NULL, MsgBuffer);
}