summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-08-19 08:57:26 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-08-19 08:57:26 +0000
commit231b81e8a09040c9a9cc87e9e5507acbcfa50a8b (patch)
treeb0a67619812ea3ce3dca48ed9e0fe24be8964ade /mdk-stage1
parentad33d9f8aa3033d8871bfae24f8d0a3dcd4f15c0 (diff)
downloaddrakx-231b81e8a09040c9a9cc87e9e5507acbcfa50a8b.tar
drakx-231b81e8a09040c9a9cc87e9e5507acbcfa50a8b.tar.gz
drakx-231b81e8a09040c9a9cc87e9e5507acbcfa50a8b.tar.bz2
drakx-231b81e8a09040c9a9cc87e9e5507acbcfa50a8b.tar.xz
drakx-231b81e8a09040c9a9cc87e9e5507acbcfa50a8b.zip
Fix varargs for AMD64
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/ppp/pppd/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/ppp/pppd/utils.c b/mdk-stage1/ppp/pppd/utils.c
index 9c987cfcd..5861d8980 100644
--- a/mdk-stage1/ppp/pppd/utils.c
+++ b/mdk-stage1/ppp/pppd/utils.c
@@ -254,7 +254,7 @@ vslprintf(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
-#ifndef __powerpc__
+#if !defined(__powerpc__) && !defined(__x86_64__)
n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */