Skip to content

Commit

Permalink
fix: Correct debug format string in SmbiosParser
Browse files Browse the repository at this point in the history
This resolves a minor cppcheck finding.

Signed-off-by: Jake Garver <jake@nvidia.com>
Reviewed-by: Girish Mahadevan <gmahadevan@nvidia.com>
  • Loading branch information
jgarver committed Aug 13, 2024
1 parent 6ce3161 commit cae187f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit cae187f

Please sign in to comment.