diff options
author | Timo Sarawinski | 2019-04-01 13:02:44 +0200 |
---|---|---|
committer | Timo Sarawinski | 2019-04-01 13:02:44 +0200 |
commit | 9d54d47be8bcf34b8e099194e04c7bbd4355db99 (patch) | |
tree | e6ac0bc97b526865c17b7bfb5ef559c3be392ca9 /logging.patch | |
parent | 9c09dad8ea91bad9d61425d215418e5c536bff43 (diff) | |
download | aur-9d54d47be8bcf34b8e099194e04c7bbd4355db99.tar.gz |
fix build
Diffstat (limited to 'logging.patch')
-rw-r--r-- | logging.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logging.patch b/logging.patch new file mode 100644 index 000000000000..f844e63e95c2 --- /dev/null +++ b/logging.patch @@ -0,0 +1,11 @@ +--- src/logging.hh ++++ src/logging.hh +@@ -93,7 +93,7 @@ + #define dump_log(...) logger.write(__VA_ARGS__) + + #ifdef DEBUG_ENABLED +- #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ++ #define debug(format, ...) logger.write(Debug, "%s:%d in %s(): " format, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__) + #else + #define debug(format,args...) + #endif |