From cae187f5789841bd91809b1dface174e804e8934 Mon Sep 17 00:00:00 2001 From: Jake Garver Date: Mon, 8 Jul 2024 04:51:10 -0700 Subject: [PATCH] fix: Correct debug format string in SmbiosParser This resolves a minor cppcheck finding. Signed-off-by: Jake Garver Reviewed-by: Girish Mahadevan --- .../ConfigurationManagerData/SmbiosParser/SmbiosParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/NVIDIA/Drivers/ConfigurationManagerData/SmbiosParser/SmbiosParser.c b/Silicon/NVIDIA/Drivers/ConfigurationManagerData/SmbiosParser/SmbiosParser.c index 06f38818b4..1bbc96874a 100644 --- a/Silicon/NVIDIA/Drivers/ConfigurationManagerData/SmbiosParser/SmbiosParser.c +++ b/Silicon/NVIDIA/Drivers/ConfigurationManagerData/SmbiosParser/SmbiosParser.c @@ -224,7 +224,7 @@ SmbiosParser ( for (Index = 0; Index < ARRAY_SIZE (CmInstallSmbiosRecords); Index++) { Status = CmInstallSmbiosRecords[Index].Function (ParserHandle, Private); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "%a: Install CM object of SMBIOS Type %d, Status = %r.\n", __FUNCTION__, CmInstallSmbiosRecords[Index].Type, Status)); + DEBUG ((DEBUG_ERROR, "%a: Install CM object of SMBIOS Type %u, Status = %r.\n", __FUNCTION__, CmInstallSmbiosRecords[Index].Type, Status)); } }