Mercurial > emacs
diff src/term.c @ 65795:4b20a22635a5
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Sun, 02 Oct 2005 18:35:05 +0000 |
| parents | 375ab086d366 |
| children | d3f5aa0f18c4 |
line wrap: on
line diff
--- a/src/term.c Sun Oct 02 17:44:18 2005 +0000 +++ b/src/term.c Sun Oct 02 18:35:05 2005 +0000 @@ -25,7 +25,6 @@ #include <stdio.h> #include <ctype.h> #include <string.h> -#include <stdarg.h> #include "termchar.h" #include "termopts.h" @@ -2690,13 +2689,12 @@ /* VARARGS 1 */ void -fatal (const char *str, ...) +fatal (str, arg1, arg2) + char *str, *arg1, *arg2; { - va_list ap; - va_start (ap, str); fprintf (stderr, "emacs: "); - vfprintf (stderr, str, ap); - va_end (ap); + fprintf (stderr, str, arg1, arg2); + fprintf (stderr, "\n"); fflush (stderr); exit (1); }
