summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-03 21:35:17 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-03 21:35:17 +0000
commit52b765fd6ff1e121323e4d94bf44dc472f28565a (patch)
tree8bdbeb1b81a2af6774e3aa230c453247bc02ee2a /loader
parenta40be875fa02087cd1097f38117ce068bd20656a (diff)
downloadanaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.tar.gz
anaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.tar.xz
anaconda-52b765fd6ff1e121323e4d94bf44dc472f28565a.zip
va_copy() is backwards
Diffstat (limited to 'loader')
-rw-r--r--loader/misc.c2
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;