swapped arguments in a call to va_start()
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -205,7 +205,7 @@ sv_printv (sv_interp_ctx_t* ic, int level, const char *fmt, va_list ap) | ... | @@ -205,7 +205,7 @@ sv_printv (sv_interp_ctx_t* ic, int level, const char *fmt, va_list ap) |
205 | void sv_print (sv_interp_ctx_t* ic, int level, const char* fmt, ...) | 205 | void sv_print (sv_interp_ctx_t* ic, int level, const char* fmt, ...) |
206 | { | 206 | { |
207 | va_list ap; | 207 | va_list ap; |
208 | va_start(fmt, ap); | 208 | va_start(ap, fmt); |
209 | sv_printv(ic, level, fmt, ap); | 209 | sv_printv(ic, level, fmt, ap); |
210 | va_end(ap); | 210 | va_end(ap); |
211 | } | 211 | } | ... | ... |
-
Please register or sign in to post a comment