summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c')
-rw-r--r--EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c13
1 files changed, 4 insertions, 9 deletions
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;
}