From: Richard M. Stallman Date: Sat, 11 Nov 1995 20:27:37 +0000 (+0000) Subject: (fatal_unexec): Don't use varargs. X-Git-Tag: emacs-19.34~2348 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a084ed10a862b83fcbc3c1382a48fa70f087124a;p=emacs.git (fatal_unexec): Don't use varargs. --- 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); }