X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FNetwork%2FPxeDhcp4%2FDxe%2FPxeDhcp4InitSelect.c;h=1b500c57b3dcdd46c477fc248b74a95ee5462ec7;hp=3cb7f3f4bec6d5a84133aa7187ab35f344c96cda;hb=3aaddf9276ccf00b4b6349dfce058e3ae287dd3a;hpb=b06af5d71ec9fc353b9433a26fc55d14077f7cde diff --git a/EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c b/EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c index 3cb7f3f4be..1b500c57b3 100644 --- a/EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c +++ b/EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c @@ -19,11 +19,6 @@ Abstract: #include "PxeDhcp4.h" -#define DebugPrint(x) -// -// #define DebugPrint(x) Aprint x -// -/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ STATIC INTN offer_verify ( @@ -400,7 +395,7 @@ PxeDhcp4Init ( Private->offer_list = NULL; Private->callback = NULL; - DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus)); + DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus)); return EfiStatus; } @@ -687,7 +682,7 @@ PxeDhcp4Select ( EfiStatus = add_opt (&request, srvid); if (EFI_ERROR (EfiStatus)) { - DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus)); + DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus)); Private->callback = NULL; return EfiStatus; } @@ -702,7 +697,7 @@ PxeDhcp4Select ( EfiStatus = add_opt (&request, op); if (EFI_ERROR (EfiStatus)) { - DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus)); + DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus)); Private->callback = NULL; return EfiStatus; } @@ -724,7 +719,7 @@ PxeDhcp4Select ( ); if (EFI_ERROR (EfiStatus)) { - DebugPrint (("%a:%d:%r\n", __FILE__, __LINE__, EfiStatus)); + DEBUG ((EFI_D_ERROR, "%r\n", EfiStatus)); Private->callback = NULL; return EfiStatus; }