diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-10-03 21:35:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-10-03 21:35:17 +0000 |
commit | 52b765fd6ff1e121323e4d94bf44dc472f28565a (patch) | |
tree | 8bdbeb1b81a2af6774e3aa230c453247bc02ee2a /loader | |
parent | a40be875fa02087cd1097f38117ce068bd20656a (diff) | |
download | anaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.tar.gz anaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.tar.xz anaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.zip |
va_copy() is backwards
Diffstat (limited to 'loader')
-rw-r--r-- | loader/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/misc.c b/loader/misc.c index afa815187..28599ba0c 100644 --- a/loader/misc.c +++ b/loader/misc.c @@ -75,7 +75,7 @@ char * sdupprintf(const char *format, ...) { size_t size = 0; va_start(ap1, format); - va_copy(ap1, ap2); + va_copy(ap2, ap1); /* XXX requires C99 vsnprintf behavior */ size = vsnprintf(&c, 1, format, ap1) + 1; |