summaryrefslogtreecommitdiff
path: root/net/ppp/patches/patch-af
blob: 51247f59b4c36d3c9d3bef310b8e0abfe7e6c484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-af,v 1.1 2002/03/07 07:42:16 jmc Exp $

--- pppd/utils.c.orig	Thu Mar  7 07:35:26 2002
+++ pppd/utils.c	Thu Mar  7 07:36:39 2002
@@ -252,8 +252,10 @@
 #ifndef __powerpc__
 	    n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
 #else
+#ifndef __NetBSD__
 	    /* On the powerpc, a va_list is an array of 1 structure */
 	    n = vslprintf(buf, buflen + 1, f, va_arg(args, void *));
+#endif
 #endif
 	    buf += n;
 	    buflen -= n;