From 6c2c86aa505158e7ac3eda890edc3be5b6905efb Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 12 Sep 2009 12:27:03 +0200 Subject: [PATCH] Fixed build warning. --- src/csync_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/csync_log.h b/src/csync_log.h index 1432f66fd8..80053c0214 100644 --- a/src/csync_log.h +++ b/src/csync_log.h @@ -56,8 +56,8 @@ #define PRINTF_ATTRIBUTE(a,b) #endif /* __GNUC__ */ -#define CSYNC_LOG(priority, fmt, rest...) \ - csync_log((char *) CSYNC_LOG_CATEGORY_NAME, priority, fmt, ##rest) +#define CSYNC_LOG(priority, fmt, ...) \ + csync_log((char *) CSYNC_LOG_CATEGORY_NAME, priority, fmt, ## __VA_ARGS__) #ifdef WITH_LOG4C #define CSYNC_LOG_PRIORITY_FATAL LOG4C_PRIORITY_FATAL