summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vfwprintf.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-09-24 00:47:27 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-09-24 00:47:27 +0000
commitd07090a88025eaf8187b170dba0fb8c27c177f42 (patch)
treeabcb7c61c19a7617c1197587481906f8c7003071 /lib/libc/stdio/vfwprintf.c
parent3c34956a21dec127a04ca3c27c6d7299d974e321 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
-rw-r--r--lib/libc/stdio/vfwprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index 7c8e47788e79..26b89d17cb09 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -589,7 +589,7 @@ __vfwprintf(FILE *fp, const wchar_t *fmt0, va_list ap)
fmt = (wchar_t *)fmt0;
argtable = NULL;
nextarg = 1;
- orgap = ap;
+ va_copy(orgap, ap);
ret = 0;
/*