summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/UefiBootManagerLib
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-10-12 16:40:39 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-11-08 18:01:35 +0000
commit77dcd03ecfcd33ae192ed9aef0d595d3ef6a7f24 (patch)
tree79fb0d273ad148187bd402449a28364b83a9d9b2 /MdeModulePkg/Library/UefiBootManagerLib
parentf331310a10e57a12fffa1c9d5697e9213c4a5e2f (diff)
downloadedk2-77dcd03ecfcd33ae192ed9aef0d595d3ef6a7f24.tar.gz
edk2-77dcd03ecfcd33ae192ed9aef0d595d3ef6a7f24.tar.bz2
edk2-77dcd03ecfcd33ae192ed9aef0d595d3ef6a7f24.zip
MdeModulePkg: Reproduce builds across source format changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Tested-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c
index 52e35e4518..fa1fd87d15 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c
@@ -574,7 +574,7 @@ BmRepairAllControllers (
BmRepairAllControllers (ReconnectRepairCount + 1);
} else {
DEBUG ((DEBUG_ERROR, "[%a:%d] Repair failed after %d retries.\n",
- __FUNCTION__, __LINE__, ReconnectRepairCount));
+ __FUNCTION__, DEBUG_LINE_NUMBER, ReconnectRepairCount));
}
}