From 7e91d91cea97f2b45dea84eb0e58c0dc2d0fb31a Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sat, 19 Nov 2022 01:48:06 +0100 Subject: [PATCH] gnrc_tcp: replace RIOT_FILE_RELATIVE with __FILE__ --- .../gnrc/transport_layer/tcp/include/gnrc_tcp_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h b/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h index c70a0ad09615..f59ee3483d49 100644 --- a/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h +++ b/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h @@ -120,7 +120,7 @@ extern "C" { * @note Compilation units using TCP_DEBUG_ENTER must set ENABLE_DEBUG and include debug.h. */ #define TCP_DEBUG_ENTER DEBUG("GNRC_TCP: Enter \"%s\", File: %s(%d)\n", \ - DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__) + DEBUG_FUNC, __FILE__, __LINE__) /** * @brief Helper macro used to create debug message on function exit. @@ -128,7 +128,7 @@ extern "C" { * @note Compilation units using TCP_DEBUG_LEAVE must set ENABLE_DEBUG and include debug.h. */ #define TCP_DEBUG_LEAVE DEBUG("GNRC_TCP: Leave \"%s\", File: %s(%d)\n", \ - DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__) + DEBUG_FUNC, __FILE__, __LINE__) /** * @brief Helper macro used to create debug message on error. @@ -136,7 +136,7 @@ extern "C" { * @note Compilation units using TCP_DEBUG_ERROR must set ENABLE_DEBUG and include debug.h. */ #define TCP_DEBUG_ERROR(msg) DEBUG("GNRC_TCP: Error: \"%s\", Func: %s, File: %s(%d)\n", \ - msg, DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__) + msg, DEBUG_FUNC, __FILE__, __LINE__) /** * @brief Helper macro used to create informational debug message. @@ -144,7 +144,7 @@ extern "C" { * @note Compilation units using TCP_DEBUG_INFO must set ENABLE_DEBUG and include debug.h. */ #define TCP_DEBUG_INFO(msg) DEBUG("GNRC_TCP: Info: \"%s\", Func: %s, File: %s(%d)\n", \ - msg, DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__) + msg, DEBUG_FUNC, __FILE__, __LINE__) /** * @brief TCB list type.