mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
14 lines
346 B
C
14 lines
346 B
C
--- ts.c.orig Tue Apr 13 18:08:17 2004
|
|
+++ ts.c Tue Apr 13 18:12:43 2004
|
|
@@ -202,7 +202,11 @@
|
|
|
|
if (format == NULL)
|
|
return NULL;
|
|
+#ifdef __amd64__
|
|
+ va_copy(ap2,ap);
|
|
+#else
|
|
ap2 = ap;
|
|
+#endif
|
|
if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)
|
|
return NULL;
|
|
if ((buffer = (char *)malloc(n+1)) == NULL)
|