Skip to content

Commit

Permalink
Add "//" before ascii output of buffers.
Browse files Browse the repository at this point in the history
Updates the dump buffer utility to comment out the ascii part
of buffer dump. Prevents some tools from getting confused.
  • Loading branch information
acpibob committed Apr 6, 2015
1 parent e9ffea3 commit 657dc22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/components/utilities/utbuffer.c
Expand Up @@ -230,6 +230,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))
{
Expand Down

0 comments on commit 657dc22

Please sign in to comment.