aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unexalpha.c10
1 files 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)
432} 432}
433 433
434static void 434static void
435fatal_unexec (s, va_alist) 435fatal_unexec (s, arg)
436 char *s; 436 char *s;
437 va_dcl 437 char *arg;
438{ 438{
439 va_list ap;
440 if (errno == EEOF) 439 if (errno == EEOF)
441 fputs ("unexec: unexpected end of file, ", stderr); 440 fputs ("unexec: unexpected end of file, ", stderr);
442 else 441 else
443 fprintf (stderr, "unexec: %s, ", strerror (errno)); 442 fprintf (stderr, "unexec: %s, ", strerror (errno));
444 va_start (ap); 443 fprintf (stderr, s, arg);
445 vfprintf (stderr, s, ap);
446 fputs (".\n", stderr); 444 fputs (".\n", stderr);
447 exit (1); 445 exit (1);
448} 446}