X-Git-Url: https://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=snprintf%2Fvfprintf.c;fp=snprintf%2Fvfprintf.c;h=1b8fba6721a8d1af6ed806959c1f2daf11c5d8e3;hp=d4953be28dca8f60024efabacda83e14cba4c157;hb=e2b465757cadd72353b3ce4ae2b9402d66750e3b;hpb=93c2f02399d2c9fad48acfcea5f4f9ef508a9493 diff --git a/snprintf/vfprintf.c b/snprintf/vfprintf.c index d4953be..1b8fba6 100644 --- a/snprintf/vfprintf.c +++ b/snprintf/vfprintf.c @@ -239,7 +239,7 @@ int ust_safe_vfprintf(LFILE *fp, const char *fmt0, va_list ap) int dprec; /* a copy of prec if %[diouxX], 0 otherwise */ int realsz; /* field size expanded by dprec */ int size; /* size of converted field or string */ - const char *xdigs; /* digits for %[xX] conversion */ + const char *xdigs = NULL; /* digits for %[xX] conversion */ #define NIOV 8 struct __suio uio; /* output information: summary */ struct __siov iov[NIOV];/* ... and individual io vectors */