From a81a8f8dc129a3c3431f7f75b3572a4cfe010886 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Apr 2002 22:24:04 +0000 Subject: 2002-04-18 Ralf Corsepius * pppd/utils.c: Adapt to gcc-3.x. --- cpukit/pppd/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/pppd/utils.c') diff --git a/cpukit/pppd/utils.c b/cpukit/pppd/utils.c index b1bdb5d754..74b7fc48a3 100644 --- a/cpukit/pppd/utils.c +++ b/cpukit/pppd/utils.c @@ -248,10 +248,10 @@ vslprintf(buf, buflen, fmt, args) break; case 'r': f = va_arg(args, char *); -#ifndef __powerpc__ +#ifndef __PPC__ n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list)); #else - /* On the powerpc, a va_list is an array of 1 structure */ + /* HACK: On the powerpc, a va_list is an array of 1 structure */ n = vslprintf(buf, buflen + 1, f, va_arg(args, void *)); #endif buf += n; -- cgit v1.2.3