summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/Makefile4
-rw-r--r--usr.sbin/pppd/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 354a289..38f02b3 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -74,6 +74,7 @@ SUBDIR= IPXrouted \
pciconf \
periodic \
pkg_install \
+ pppd \
pppstats \
procctl \
pstat \
@@ -133,8 +134,7 @@ SUBDIR= IPXrouted \
zic
.if ${MACHINE_ARCH} != "amd64"
-SUBDIR+=ppp \
- pppd
+SUBDIR+=ppp
.endif
.if !defined(NO_IPFILTER)
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c
index 980064b..c2d0abf 100644
--- a/usr.sbin/pppd/main.c
+++ b/usr.sbin/pppd/main.c
@@ -1530,7 +1530,7 @@ vfmtmsg(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
-#ifndef __powerpc__
+#if !defined(__powerpc__) && !defined(__amd64__)
n = vfmtmsg(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */
OpenPOWER on IntegriCloud