diff options
author | Eugene Myers <edmyers@tycho.nsa.gov> | 2021-06-16 09:26:38 -0400 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2023-06-10 03:20:21 +0000 |
commit | 701180f069b47f8d351b516d02225d0c00906319 (patch) | |
tree | 486aa1a33779c35c37fdc0f63a1f9f3fcfcae4cb | |
parent | 2b32db6ddc0f9382466f26ad71c190b63cb8e2b7 (diff) | |
download | coreboot-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.c | 2 |
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; |