From 842ea427bc012a6f26f2d968e8174d8c7ee26aef Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 17 Oct 2008 12:08:15 +0200 Subject: Use standard va_copy. --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 418ae41392..8c2b3feeca 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2565,7 +2565,7 @@ char *smb_xstrndup(const char *s, size_t n) int n; va_list ap2; - VA_COPY(ap2, ap); + va_copy(ap2, ap); n = vasprintf(ptr, format, ap2); if (n == -1 || ! *ptr) { -- cgit