Add function name to E1AP PRINT_ERROR macro

This commit is contained in:
Guido Casati
2025-04-07 12:28:13 +02:00
parent e472bbdd1b
commit 254e04357d
+1 -1
View File
@@ -29,7 +29,7 @@
#include "e1ap_messages_types.h"
#ifdef E1AP_LOG_ERRORS
#define PRINT_ERROR(...) fprintf(stderr, ##__VA_ARGS__);
#define PRINT_ERROR(fmt, ...) fprintf(stderr, "[%s] " fmt, __func__, ##__VA_ARGS__)
#else
#define PRINT_ERROR(...) // Do nothing
#endif