diff options
author | Nicolas Noble <pixel@Shinji.local> | 2008-12-03 06:58:04 -0800 |
---|---|---|
committer | Nicolas Noble <pixel@Shinji.local> | 2008-12-03 06:58:04 -0800 |
commit | a6d6e86e81f6556696cba4e1971c684feb2608cd (patch) | |
tree | 8ae8a071be29b446aee4d2381fc7ce87bab4eb81 /lib/generic.cc | |
parent | 647315275bc825d43130a1b62ebd914ae8769d18 (diff) |
Fixing va_list warning.
Diffstat (limited to 'lib/generic.cc')
-rw-r--r-- | lib/generic.cc | 2 |
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); |