From e8e01af8269351f368637d6296a3d46e39c970c7 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 12 May 2023 15:52:18 +0200 Subject: device/allocator: Fix format string for resource flags (%lu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I56ffb82ec417530527ea1ea7e97a593e5bf6b756 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/75148 Tested-by: build bot (Jenkins) Reviewed-by: Jérémy Compostella Reviewed-by: Elyes Haouas Reviewed-by: Felix Singer --- src/device/resource_allocator_v4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/resource_allocator_v4.c b/src/device/resource_allocator_v4.c index 6e4aa5ee7d..511c4505db 100644 --- a/src/device/resource_allocator_v4.c +++ b/src/device/resource_allocator_v4.c @@ -222,7 +222,7 @@ static unsigned char get_alignment_by_resource_type(const struct resource *res) else if (res->flags & IORESOURCE_IO) return 0; /* No special alignment required --> log2(1) */ - die("Unexpected resource type: flags(%d)!\n", res->flags); + die("Unexpected resource type: flags(%lu)!\n", res->flags); } /* -- cgit v1.2.1