summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorMichal Zima <xhire@tuxportal.cz>2009-09-15 20:04:27 +0200
committerMichal Zima <xhire@tuxportal.cz>2009-09-15 20:04:27 +0200
commitda93e81d03d22b7b86c3abebbee312c5cd466d10 (patch)
tree5beea592e16a4b73126341d3ac3433d7b8b1919f /src/base
parentef7d34b831f025c1588fa1646354f1942b368397 (diff)
Fixed error in 'debug' macro in msg.h
Diffstat (limited to 'src/base')
-rw-r--r--src/base/msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/msg.h b/src/base/msg.h
index 95a189b..a2f77e9 100644
--- a/src/base/msg.h
+++ b/src/base/msg.h
@@ -8,7 +8,7 @@
#endif /* DEBUG * */
#ifdef DEBUG
-#define debug(msg,arg...) fprintf(stdout, "%s ", _("[Debug]")); fprintf(stdout, _(msg) "\n", ##arg)
+#define debug(msg,arg...) fprintf(stdout, "%s ", _("[Debug]")); fprintf(stdout, _(msg), ##arg); fprintf(stdout, "\n")
#else /* DEBUG */
#define debug(msg,arg...)
#endif /* DEBUG */