\r
Status = Tcp6->GetModeData (Tcp6, NULL, NULL, &IpModedata, NULL, NULL);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "%a: Can't get IP mode data information\n"));\r
+ DEBUG ((DEBUG_ERROR, "%a: Can't get IP mode data information\n", __FUNCTION__));\r
return Status;\r
}\r
\r
if (IpModedata.AddressCount == 0) {\r
- DEBUG ((DEBUG_INFO, "%a: No IPv6 address configured.\n"));\r
+ DEBUG ((DEBUG_INFO, "%a: No IPv6 address configured.\n", __FUNCTION__));\r
}\r
\r
if (Instance->SubnetAddrInfoIPv6 != NULL) {\r
\r
Instance->SubnetAddrInfoIPv6 = AllocateZeroPool (IpModedata.AddressCount * sizeof (EFI_IP6_ADDRESS_INFO));\r
if (Instance->SubnetAddrInfoIPv6 == NULL) {\r
- DEBUG ((DEBUG_ERROR, "%a: Failed to allocate memory fir IPv6 subnet address information\n"));\r
+ DEBUG ((DEBUG_ERROR, "%a: Failed to allocate memory for IPv6 subnet address information\n", __FUNCTION__));\r
return EFI_OUT_OF_RESOURCES;\r
}\r
\r
} else {\r
NewProtocolRecords = ReallocatePool (CurrentProtocolsDataLength, NewProtocolsDataLength, (VOID *)ProtocolRecords);\r
if (NewProtocolRecords == NULL) {\r
- DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for Redfish host interface protocol data."));\r
+ DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for Redfish host interface protocol data.", __FUNCTION__));\r
FreePool (ProtocolRecords);\r
FreePool (ProtocolRecord);\r
return EFI_OUT_OF_RESOURCES;\r
DEBUG ((DEBUG_INFO, "HTTP_STATUS_200_OK\n"));\r
\r
if (SendChunkProcess == HttpIoSendChunkHeaderZeroContent) {\r
- DEBUG ((DEBUG_INFO, "This is chunk transfer, start to send all chunks.", ResponseData->Response.StatusCode));\r
+ DEBUG ((DEBUG_INFO, "This is chunk transfer, start to send all chunks."));\r
SendChunkProcess++;\r
goto ReSendRequest;\r
}\r