Hi!
On Thu, 2009-10-29 at 18:33:12 +0300, Dmitry E. Oboukhov wrote:
> I have a package which contains a code like following:
>
> #include <stdio.h>
>
> FILE *file_handle;
>
> int foo(int something, const char *fmt, ...)
> {
> // some statements
> ....
> va_list ap;
Seems you are missing a va_start call here.
> int res = vfprintf(file_handle, fmt, ap);
> va_end(ap);
> return res;
> }
regards,
guillem