changeset 13512:738750464578

(fatal_unexec): Don't use varargs.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Nov 1995 20:27:37 +0000
parents a0fd601c9d5b
children 907544cb2c7d
files src/unexalpha.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexalpha.c	Sat Nov 11 15:55:13 1995 +0000
+++ b/src/unexalpha.c	Sat Nov 11 20:27:37 1995 +0000
@@ -432,17 +432,15 @@
 }
 
 static void
-fatal_unexec (s, va_alist)
-    char *s;
-    va_dcl
+fatal_unexec (s, arg)
+     char *s;
+     char *arg;
 {
-  va_list ap;
   if (errno == EEOF)
     fputs ("unexec: unexpected end of file, ", stderr);
   else
     fprintf (stderr, "unexec: %s, ", strerror (errno));
-  va_start (ap);
-  vfprintf (stderr, s, ap);
+  fprintf (stderr, s, arg);
   fputs (".\n", stderr);
   exit (1);
 }