summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/main.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 07:09:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-08 07:09:57 +0000
commitb1861aa8cb8b9a2c79bfcdc1be799db985bd7c6d (patch)
treebcbc71e9406dec94d1b5fa8ba57764dfcba2590e /usr.sbin/pppd/main.c
parent7abb7b64c57b822168c3754923da41ba5ef129ef (diff)
amd64 needs the same hack as powerpc; but this code really needs to be
deleted/replaced. anyone want to step up?
Diffstat (limited to 'usr.sbin/pppd/main.c')
-rw-r--r--usr.sbin/pppd/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c
index a9ea5aa8221..00ea2a0a983 100644
--- a/usr.sbin/pppd/main.c
+++ b/usr.sbin/pppd/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.42 2003/04/25 23:24:04 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.43 2004/02/08 07:09:56 deraadt Exp $ */
/*
* main.c - Point-to-Point Protocol main module
@@ -46,7 +46,7 @@
#if 0
static char rcsid[] = "Id: main.c,v 1.49 1998/05/05 05:24:17 paulus Exp $";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.42 2003/04/25 23:24:04 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.43 2004/02/08 07:09:56 deraadt Exp $";
#endif
#endif
@@ -1523,7 +1523,7 @@ vfmtmsg(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
-#ifndef __powerpc__
+#if !defined(__powerpc__) && !defined(__x86_64__)
n = vfmtmsg(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */