summaryrefslogtreecommitdiffstats
path: root/RedfishPkg/RedfishHostInterfaceDxe
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2022-08-02 13:36:22 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-09-09 01:42:39 +0000
commitc403de7bd48ed4b19965dfdda36dff33886021a3 (patch)
tree8a3fa746e609025f6106a9bbbeebbc9826aa04b6 /RedfishPkg/RedfishHostInterfaceDxe
parent1096a9b04bbf7bf2319210060bfc1afaac943235 (diff)
downloadedk2-c403de7bd48ed4b19965dfdda36dff33886021a3.tar.gz
edk2-c403de7bd48ed4b19965dfdda36dff33886021a3.tar.bz2
edk2-c403de7bd48ed4b19965dfdda36dff33886021a3.zip
RedfishPkg/RedfishRestExDxe: Remove extra debug macro argument
The debug macro argument in this change is removed since it does have a corresponding print specifier in the debug message string. Cc: Abner Chang <abner.chang@amd.com> Cc: Nickle Wang <nickle@csie.io> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Nickle Wang <nickle@csie.io>
Diffstat (limited to 'RedfishPkg/RedfishHostInterfaceDxe')
-rw-r--r--RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c b/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
index 8a05764ac6..623350bc26 100644
--- a/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
+++ b/RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c
@@ -119,7 +119,7 @@ RedfishCreateSmbiosTable42 (
} else {
NewProtocolRecords = ReallocatePool (CurrentProtocolsDataLength, NewProtocolsDataLength, (VOID *)ProtocolRecords);
if (NewProtocolRecords == NULL) {
- DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for Redfish host interface protocol data."));
+ DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for Redfish host interface protocol data.", __FUNCTION__));
FreePool (ProtocolRecords);
FreePool (ProtocolRecord);
return EFI_OUT_OF_RESOURCES;