diff options
author | Andreas Schwab <schwab@suse.de> | 2006-07-20 13:33:48 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2006-07-20 13:33:48 +0000 |
commit | c21e8be03e36ef750fafb1c060e69ea01724205e (patch) | |
tree | aaf7193b69546823811a3dd63c26a32ebdac4755 /lib-src/fakemail.c | |
parent | 859d510edc8b4f818a537c9680c0cd993e28ad18 (diff) | |
download | emacs-c21e8be03e36ef750fafb1c060e69ea01724205e.tar.gz |
(fatal): Drop second parameter and treat first
parameter as a plain string. Callers changed.
Diffstat (limited to 'lib-src/fakemail.c')
-rw-r--r-- | lib-src/fakemail.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 30d39db533e..be9d6e09bae 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -175,10 +175,10 @@ error (s1, s2) /* Print error message and exit. */ static void -fatal (s1, s2) - char *s1, *s2; +fatal (s1) + char *s1; { - error (s1, s2); + error ("%s", s1); exit (EXIT_FAILURE); } @@ -190,7 +190,7 @@ xmalloc (size) { long *result = (long *) malloc (((unsigned) size)); if (result == ((long *) NULL)) - fatal ("virtual memory exhausted", 0); + fatal ("virtual memory exhausted"); return result; } @@ -377,7 +377,7 @@ make_file_preface () tm = localtime (&idiotic_interface); if (! (tm && TM_YEAR_IN_ASCTIME_RANGE (tm->tm_year) && (the_date = asctime (tm)))) - fatal ("current time is out of range", 0); + fatal ("current time is out of range"); /* the_date has an unwanted newline at the end */ date_length = strlen (the_date) - 1; the_date[date_length] = '\0'; |