summaryrefslogtreecommitdiff
path: root/lib/generic.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-02-02 06:54:46 +0100
committerPixel <pixel@nobis-crew.org>2009-02-02 06:54:46 +0100
commit2a6b51c13e06dd3ded2b419339a6c4f72d8a365c (patch)
tree53c02c9e5a2448444b4b2a707c2bef9a1cde773a /lib/generic.cc
parent6b289035db4f728a1987c42a56cc1cd484c8e97a (diff)
parenta6d6e86e81f6556696cba4e1971c684feb2608cd (diff)
Merge branch 'master' of ssh+git://pixel@git.grumpycoder.net/pub/repo.git/Baltisot
Diffstat (limited to 'lib/generic.cc')
-rw-r--r--lib/generic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generic.cc b/lib/generic.cc
index 24a7456..689a83c 100644
--- a/lib/generic.cc
+++ b/lib/generic.cc
@@ -89,7 +89,7 @@ static bool wrapper_printer(printer_t * prt, int level, const char * msg, ...) {
bool r;
va_list ap;
- va_start(ap, prt);
+ va_start(ap, msg);
r = prt->printm(level, msg, ap);
va_end(ap);