summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-05-18 06:30:09 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-05-18 06:30:09 +0000
commit239fec62f303a778565ed933ef3576674baac3f2 (patch)
treebcf121963aa2981a6117a1b8523a6d91e23c62bc /util.c
parent666cce2658c56eefabca0e55834cf49f983984a8 (diff)
downloadperl-239fec62f303a778565ed933ef3576674baac3f2.tar.gz
Adjust calling of Perl_va_copy(), noticed by Jarkko
p4raw-id: //depot/perl@28222
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index d273ec43d1..4e49d1989d 100644
--- a/util.c
+++ b/util.c
@@ -5403,7 +5403,7 @@ Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap
int retval;
#ifdef NEED_VA_COPY
va_list apc;
- Perl_va_copy(apc);
+ Perl_va_copy(ap, apc);
# ifdef HAS_VSNPRINTF
retval = vsnprintf(buffer, len, format, apc);
# else