From 26f66a929674173cdbf6e132a683cf6e31f9bfd5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 24 Apr 1997 20:47:16 +0000 Subject: This version compiles under AIX. svn path=/trunk/; revision=976 --- report.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'report.c') diff --git a/report.c b/report.c index e1e0b745..1e653646 100644 --- a/report.c +++ b/report.c @@ -160,7 +160,17 @@ error (status, errnum, message, va_alist) #ifdef HAVE_VSYSLOG vsyslog (priority, msg, args); #else + { + char *a1 = va_arg(args, char *); + char *a2 = va_arg(args, char *); + char *a3 = va_arg(args, char *); + char *a4 = va_arg(args, char *); + char *a5 = va_arg(args, char *); + char *a6 = va_arg(args, char *); + char *a7 = va_arg(args, char *); + char *a8 = va_arg(args, char *); syslog (priority, msg, a1, a2, a3, a4, a5, a6, a7, a8); + } #endif } else @@ -168,7 +178,17 @@ error (status, errnum, message, va_alist) #ifdef HAVE_VSYSLOG vsyslog (priority, message, args); #else + { + char *a1 = va_arg(args, char *); + char *a2 = va_arg(args, char *); + char *a3 = va_arg(args, char *); + char *a4 = va_arg(args, char *); + char *a5 = va_arg(args, char *); + char *a6 = va_arg(args, char *); + char *a7 = va_arg(args, char *); + char *a8 = va_arg(args, char *); syslog (priority, message, a1, a2, a3, a4, a5, a6, a7, a8); + } #endif } -- cgit v1.2.3