summaryrefslogtreecommitdiff
path: root/source/common
diff options
context:
space:
mode:
authorJianyong Wu <jianyong.wu@arm.com>2022-03-19 10:09:16 +0800
committerJianyong Wu <jianyong.wu@arm.com>2022-03-19 10:13:06 +0800
commit39428b183c62fde1d3450c8f691012b9a5853aea (patch)
treee41704597b0b6f7389052d618efef46adbe361a4 /source/common
parent4450b89b596a2b54b0cdfe2357b49a63445c2e03 (diff)
downloadacpica-39428b183c62fde1d3450c8f691012b9a5853aea.tar.gz
dmtbdump2: fix build error
There are some format print grammar error, thus fix them here. Signed-off-by: Jianyong Wu <jianyong.wu@.arm.com>
Diffstat (limited to 'source/common')
-rw-r--r--source/common/dmtbdump2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/common/dmtbdump2.c b/source/common/dmtbdump2.c
index 522a7bd7f..9eca41139 100644
--- a/source/common/dmtbdump2.c
+++ b/source/common/dmtbdump2.c
@@ -887,7 +887,7 @@ AcpiDmDumpMadt (
/* Subtables */
Subtable = ACPI_ADD_PTR (ACPI_SUBTABLE_HEADER, Table, Offset);
- DbgPrint (ASL_PARSE_OUTPUT, "//0B) Offset %X, from table start: %X\n",
+ DbgPrint (ASL_PARSE_OUTPUT, "//0B) Offset %X, from table start: %lX\n",
Offset, ACPI_CAST_PTR (char, Subtable) - ACPI_CAST_PTR (char, Table));
while (Offset < Table->Length)
{
@@ -1005,7 +1005,7 @@ AcpiDmDumpMadt (
Offset += sizeof (ACPI_SUBTABLE_HEADER);
DbgPrint (ASL_PARSE_OUTPUT, "//[0) Subtable->Length = %X, Subtable = %p, Offset = %X]\n",
Subtable->Length, Subtable, Offset);
- DbgPrint (ASL_PARSE_OUTPUT, "//[0A) Offset from table start: %X]\n",
+ DbgPrint (ASL_PARSE_OUTPUT, "//[0A) Offset from table start: %lX]\n",
ACPI_CAST_PTR (char, Subtable) - ACPI_CAST_PTR (char, Table));
}
@@ -1047,7 +1047,7 @@ NextSubtable:
DbgPrint (ASL_PARSE_OUTPUT, "//[3) Subtable->Length = %X, Offset = %X]\n",
Subtable->Length, Offset);
- DbgPrint (ASL_PARSE_OUTPUT, "//[4) Offset from table start: %X (%p) %p]\n",
+ DbgPrint (ASL_PARSE_OUTPUT, "//[4) Offset from table start: %lX (%p) %p]\n",
ACPI_CAST_PTR (UINT8, Subtable) - ACPI_CAST_PTR (UINT8, Table), Subtable, Table);
if (Offset > Table->Length)
{
@@ -1059,7 +1059,7 @@ NextSubtable:
DbgPrint (ASL_PARSE_OUTPUT, "//[5) Next Subtable %p, length %X]\n",
Subtable, Subtable->Length);
- DbgPrint (ASL_PARSE_OUTPUT, "//[5B) Offset from table start: %X %p]\n",
+ DbgPrint (ASL_PARSE_OUTPUT, "//[5B) Offset from table start: %lX %p]\n",
ACPI_CAST_PTR (char, Subtable) - ACPI_CAST_PTR (char, Table), Subtable);
Offset = ACPI_CAST_PTR (char, Subtable) - ACPI_CAST_PTR (char, Table);