From a6d6e86e81f6556696cba4e1971c684feb2608cd Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 3 Dec 2008 06:58:04 -0800 Subject: Fixing va_list warning. --- lib/generic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3