mirror of https://github.com/acidanthera/audk.git
EmulatorPkg: Update code to be more C11 compliant by using __func__
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among others support, while __func__ was standardized in C99. Since it's more standard, replace __FUNCTION__ with __func__ throughout EmulatorPkg. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Abner Chang <Abner.Chang@amd.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
457b4e42f7
commit
66f6a64dd9
|
@ -538,7 +538,7 @@ RedfishPlatformHostInterfaceConstructor (
|
|||
EFI_STATUS Status;
|
||||
|
||||
Status = GetRedfishRecordFromVariable (&mRedfishOverIpProtocolData, &mRedfishProtocolDataSize);
|
||||
DEBUG ((DEBUG_INFO, "%a: GetRedfishRecordFromVariable() - %r\n", __FUNCTION__, Status));
|
||||
DEBUG ((DEBUG_INFO, "%a: GetRedfishRecordFromVariable() - %r\n", __func__, Status));
|
||||
if (!EFI_ERROR (Status)) {
|
||||
DumpRedfishIpProtocolData (mRedfishOverIpProtocolData, mRedfishProtocolDataSize);
|
||||
}
|
||||
|
|
|
@ -966,7 +966,7 @@ WintNtInitializeNetUtilityData (
|
|||
goto ErrorReturn;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "%a, total %d interface(s) found\n", __FUNCTION__, InterfaceCount));
|
||||
DEBUG ((DEBUG_INFO, "%a, total %d interface(s) found\n", __func__, InterfaceCount));
|
||||
//
|
||||
// Active interface index is set to first interface if given instance does
|
||||
// not exist.
|
||||
|
|
Loading…
Reference in New Issue