summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/utils.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 22:24:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 22:24:04 +0000
commita81a8f8dc129a3c3431f7f75b3572a4cfe010886 (patch)
treefbcae675aa40d7642ca14b1561190c71d7bb25ab /cpukit/pppd/utils.c
parent2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-a81a8f8dc129a3c3431f7f75b3572a4cfe010886.tar.bz2
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Adapt to gcc-3.x.
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/utils.c4
1 files changed, 2 insertions, 2 deletions
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;