1
0
mirror of https://github.com/acpica/acpica/ synced 2025-03-19 12:42:57 +03:00

Disassembler: Eliminate extra spaces in buffer disassembly.

Remove extra space at the end of each buffer data output line.
This commit is contained in:
Robert Moore 2011-10-12 08:21:22 -07:00
parent 7acf57cb95
commit 49d8d601c1

@ -180,19 +180,19 @@ AcpiDmDisasmByteList (
}
AcpiDmIndent (Level);
if (ByteCount > 7)
if (ByteCount > 8)
{
AcpiOsPrintf ("/* %04X */ ", i);
AcpiOsPrintf ("/* %04X */ ", i);
}
}
AcpiOsPrintf ("0x%2.2X", (UINT32) ByteData[i]);
AcpiOsPrintf (" 0x%2.2X", (UINT32) ByteData[i]);
/* Add comma if there are more bytes to display */
if (i < (ByteCount -1))
{
AcpiOsPrintf (", ");
AcpiOsPrintf (",");
}
}