From c457a42be4fca72c51fdca569271b62213d01a37 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 31 May 2017 22:40:24 +0000 Subject: Import ACPICA 20170531. --- source/compiler/aslascii.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/compiler/aslascii.c') diff --git a/source/compiler/aslascii.c b/source/compiler/aslascii.c index afaee56ffe65..18bcd28fe177 100644 --- a/source/compiler/aslascii.c +++ b/source/compiler/aslascii.c @@ -194,7 +194,7 @@ FlIsFileAsciiSource ( BOOLEAN DisplayErrors) { UINT8 Byte; - ACPI_SIZE BadBytes = 0; + UINT32 BadBytes = 0; BOOLEAN OpeningComment = FALSE; ASL_FILE_STATUS Status; FILE *Handle; @@ -285,6 +285,9 @@ FlIsFileAsciiSource ( if (BadBytes) { + fprintf (stderr, + "File appears to be binary: found %u non-ASCII characters, disassembling\n", + BadBytes); if (DisplayErrors) { AcpiOsPrintf ( -- cgit v1.2.3