summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2021-06-16 09:26:38 -0400
committerStefan Reinauer <stefan.reinauer@coreboot.org>2023-06-10 03:20:21 +0000
commit701180f069b47f8d351b516d02225d0c00906319 (patch)
tree486aa1a33779c35c37fdc0f63a1f9f3fcfcae4cb
parent2b32db6ddc0f9382466f26ad71c190b63cb8e2b7 (diff)
downloadcoreboot-701180f069b47f8d351b516d02225d0c00906319.tar.gz
coreboot-701180f069b47f8d351b516d02225d0c00906319.tar.bz2
coreboot-701180f069b47f8d351b516d02225d0c00906319.zip
security/intel/stm/SmmStm.c: Fix size_t printf format error
Replaced the 'l' with a 'z' to clear up the issue. Change-Id: I696b615b4dd3bacda7151c91fff17f9b01b17821 Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55623 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/security/intel/stm/SmmStm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/intel/stm/SmmStm.c b/src/security/intel/stm/SmmStm.c
index f23be70217ef..523a63f42020 100644
--- a/src/security/intel/stm/SmmStm.c
+++ b/src/security/intel/stm/SmmStm.c
@@ -490,7 +490,7 @@ int add_pi_resource(STM_RSC *resource_list, uint32_t num_entries)
return -1; // INVALID_PARAMETER;
resource_size = get_resource_size(resource_list, num_entries);
- printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08lx\n", resource_size);
+ printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08x\n", (int) resource_size);
if (resource_size == 0)
return -1; // INVALID_PARAMETER;