NetworkPkg: Reproduce builds across source format changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688

Use DEBUG_LINE_NUMBER instead of __LINE__.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Tested-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
Michael D Kinney 2021-10-12 16:41:50 -07:00 committed by mergify[bot]
parent 77dcd03ecf
commit 45137bca2f
2 changed files with 5 additions and 5 deletions

View File

@ -277,7 +277,7 @@ typedef struct {
NETDEBUG_LEVEL_TRACE, \
Module, \
__FILE__, \
__LINE__, \
DEBUG_LINE_NUMBER, \
NetDebugASPrint PrintArg \
)
@ -286,7 +286,7 @@ typedef struct {
NETDEBUG_LEVEL_WARNING, \
Module, \
__FILE__, \
__LINE__, \
DEBUG_LINE_NUMBER, \
NetDebugASPrint PrintArg \
)
@ -295,7 +295,7 @@ typedef struct {
NETDEBUG_LEVEL_ERROR, \
Module, \
__FILE__, \
__LINE__, \
DEBUG_LINE_NUMBER, \
NetDebugASPrint PrintArg \
)
@ -311,7 +311,7 @@ typedef struct {
NETDEBUG_LEVEL_TRACE,
"Tcp",
__FILE__,
__LINE__,
DEBUG_LINE_NUMBER,
NetDebugASPrint ("State transit to %a\n", Name)
)

View File

@ -434,7 +434,7 @@ SyslogBuildPacket (
NETDEBUG_LEVEL_TRACE,
"Tcp",
__FILE__,
__LINE__,
DEBUG_LINE_NUMBER,
NetDebugASPrint ("State transit to %a\n", Name)
)