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


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to