summaryrefslogtreecommitdiff
path: root/source/components/utilities/utbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/utilities/utbuffer.c')
-rw-r--r--source/components/utilities/utbuffer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/components/utilities/utbuffer.c b/source/components/utilities/utbuffer.c
index e677cf1c8fc6..cf99b769922e 100644
--- a/source/components/utilities/utbuffer.c
+++ b/source/components/utilities/utbuffer.c
@@ -158,6 +158,15 @@ AcpiUtDumpBuffer (
return;
}
+ /*
+ * Add comment characters so rest of line is ignored when
+ * compiled
+ */
+ if (j == 0)
+ {
+ AcpiOsPrintf ("// ");
+ }
+
BufChar = Buffer[(ACPI_SIZE) i + j];
if (ACPI_IS_PRINT (BufChar))
{