]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
logging: fix LOG_MESSAGE macro to not use semicolon
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 16 Jun 2016 15:15:04 +0000 (17:15 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 16 Jun 2016 15:15:36 +0000 (17:15 +0200)
logging.h

index 0ac8e7a70af3e4f050e19f2e4cece4aafafb1fbf..77d376e915a943389256ce699a5ea05f6c030a36 100644 (file)
--- a/logging.h
+++ b/logging.h
@@ -47,10 +47,10 @@ extern int log_debug_enabled;
 
 #if DEBUG > 0
 #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
 #define LOG_MESSAGE(severity, facility, ...) \
-  LOG_Message(severity, __VA_ARGS__);
+  LOG_Message(severity, __VA_ARGS__)
 #endif
 
 #define DEBUG_LOG(facility, ...) \