emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/fakemail.c,v


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/lib-src/fakemail.c,v
Date: Thu, 20 Jul 2006 13:33:49 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Andreas Schwab <schwab> 06/07/20 13:33:48

Index: fakemail.c
===================================================================
RCS file: /sources/emacs/emacs/lib-src/fakemail.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- fakemail.c  29 Apr 2006 18:52:19 -0000      1.38
+++ fakemail.c  20 Jul 2006 13:33:48 -0000      1.39
@@ -175,10 +175,10 @@
 /* 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 @@
 {
   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 @@
   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';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]