chore(dlog): fix uses of `dlog` to use new format strings
Now that uses of `dlog` are checked at compile-time, many incorrect uses
of format strings are diagnosed by the compiler. This commit fixes all
of them.
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
Change-Id: I22515a45a264ae3480df8fe360ccee591fc12284
diff --git a/src/fdt_handler.c b/src/fdt_handler.c
index 4d0496f..82ccf6f 100644
--- a/src/fdt_handler.c
+++ b/src/fdt_handler.c
@@ -157,9 +157,9 @@
++mem_range_index;
} else {
dlog_error(
- "Found %s range %u in FDT but only %u "
- "supported, ignoring additional range "
- "of size %u.\n",
+ "Found %s range %zu in FDT but only "
+ "%zu supported, ignoring additional "
+ "range of size %zu.\n",
string_data(device_type),
mem_range_index, mem_range_limit, len);
}