diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2005-10-02 18:35:05 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2005-10-02 18:35:05 +0000 |
commit | eb27c2ca1fd09543160e06cc8543f0f3eba83e1e (patch) | |
tree | dbf34163c252bfbbefd975a3973705bb737adc76 /src/term.c | |
parent | cde3239fdbfa6bfe448f4ce33c66d2026d1af3c6 (diff) | |
download | emacs-eb27c2ca1fd09543160e06cc8543f0f3eba83e1e.tar.gz |
* lisp.h (fatal): Undo previous change.
* term.c (fatal): Undo previous change.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c index 21333826b3c..2b4ea7e23a4 100644 --- a/src/term.c +++ b/src/term.c @@ -25,7 +25,6 @@ Boston, MA 02110-1301, USA. */ #include <stdio.h> #include <ctype.h> #include <string.h> -#include <stdarg.h> #include "termchar.h" #include "termopts.h" @@ -2690,13 +2689,12 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.", /* 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); } |