diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/dprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/dprintf.c b/source4/lib/dprintf.c index 6653fa4242..64227148fd 100644 --- a/source4/lib/dprintf.c +++ b/source4/lib/dprintf.c @@ -35,12 +35,12 @@ int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) { char *p, *p2; int ret, maxlen, clen; - char *msgstr; va_list ap2; + /* do any message translations */ VA_COPY(ap2, ap); - ret = vasprintf(&p, msgstr, ap2); + ret = vasprintf(&p, format, ap2); if (ret <= 0) return ret; |