summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2023-05-12 15:52:18 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-05-15 16:35:57 +0000
commite8e01af8269351f368637d6296a3d46e39c970c7 (patch)
tree9d0f7b2eb02952259e79dbe633a9a1e085566f1c /src/device
parent1d5166942dda2e1efba14debddbe3ec4f0bd01dd (diff)
device/allocator: Fix format string for resource flags (%lu)
Change-Id: I56ffb82ec417530527ea1ea7e97a593e5bf6b756 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75148 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/resource_allocator_v4.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*