summaryrefslogtreecommitdiff
path: root/src/unexalpha.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-11 20:27:37 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-11 20:27:37 +0000
commitbea3a564581a16ffb5734e791306b9f1754a5990 (patch)
tree2fd123ba4e2dabbfbedd7f993428911b038c3892 /src/unexalpha.c
parent9d5883ed44174388366f8e333dd8e8314ceba3d4 (diff)
downloademacs-bea3a564581a16ffb5734e791306b9f1754a5990.tar.gz
(fatal_unexec): Don't use varargs.
Diffstat (limited to 'src/unexalpha.c')
-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)
}
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);
}