From a084ed10a862b83fcbc3c1382a48fa70f087124a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Nov 1995 20:27:37 +0000 Subject: [PATCH] (fatal_unexec): Don't use varargs. --- src/unexalpha.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/unexalpha.c b/src/unexalpha.c index e71d11e0fe2..ac9482d86bd 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c @@ -432,17 +432,15 @@ mark_x (name) } 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); } -- 2.39.2