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>
This commit is contained in:
Nico Huber 2023-05-12 15:52:18 +02:00 committed by Felix Singer
parent 1d5166942d
commit e8e01af826
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/*