7656d4e8e0
Mon Jul 22 2002 Florian La Roche <Florian.LaRoche@redhat.de> - add patch: Thu Jun 06 2002 Phil Knirsch <pknirsch@redhat.com> - Fixed varargs problem for s390/s390x.
12 lines
418 B
Diff
12 lines
418 B
Diff
--- ppp-2.4.1/pppd/utils.c.varargs Thu Jun 6 16:22:58 2002
|
|
+++ ppp-2.4.1/pppd/utils.c Thu Jun 6 16:22:00 2002
|
|
@@ -254,7 +254,7 @@
|
|
break;
|
|
case 'r':
|
|
f = va_arg(args, char *);
|
|
-#ifndef __powerpc__
|
|
+#if !defined(__powerpc__) && !defined(__s390__) && !defined(__s390x__)
|
|
n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
|
|
#else
|
|
/* On the powerpc, a va_list is an array of 1 structure */
|