summaryrefslogtreecommitdiff
path: root/source4/lib/util/dprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util/dprintf.c')
-rw-r--r--source4/lib/util/dprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util/dprintf.c b/source4/lib/util/dprintf.c
index 916db3af93..62dc2a227a 100644
--- a/source4/lib/util/dprintf.c
+++ b/source4/lib/util/dprintf.c
@@ -38,7 +38,7 @@ _PUBLIC_ int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBU
va_list ap2;
/* do any message translations */
- VA_COPY(ap2, ap);
+ va_copy(ap2, ap);
ret = vasprintf(&p, format, ap2);