mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 14:25:07 -05:00
logging: fix LOG_MESSAGE macro to not use semicolon
This commit is contained in:
@@ -47,10 +47,10 @@ extern int log_debug_enabled;
|
|||||||
|
|
||||||
#if DEBUG > 0
|
#if DEBUG > 0
|
||||||
#define LOG_MESSAGE(severity, facility, ...) \
|
#define LOG_MESSAGE(severity, facility, ...) \
|
||||||
LOG_Message(severity, facility, __LINE__, __FILE__, FUNCTION_NAME, __VA_ARGS__);
|
LOG_Message(severity, facility, __LINE__, __FILE__, FUNCTION_NAME, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define LOG_MESSAGE(severity, facility, ...) \
|
#define LOG_MESSAGE(severity, facility, ...) \
|
||||||
LOG_Message(severity, __VA_ARGS__);
|
LOG_Message(severity, __VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUG_LOG(facility, ...) \
|
#define DEBUG_LOG(facility, ...) \
|
||||||
|
|||||||
Reference in New Issue
Block a user