]> git.eshelyaron.com Git - emacs.git/commitdiff
lib-src/movemail.c (error): Avoid warning when there are no args.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 24 Jun 2010 16:12:35 +0000 (18:12 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 24 Jun 2010 16:12:35 +0000 (18:12 +0200)
lib-src/ChangeLog
lib-src/movemail.c

index 079941811c0957002b740d217263ef56da4fc9fb..5c41ad4d894e1d63db74c2129407f9c178e173b1 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * movemail.c (error): Avoid warning when there are no args.
+
 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
 
        * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
index ea30724135135913fd90b72406e05f3df3e2f2c3..11cc5b892ec0f78b671dfb2b5cc1d7cf8878e5a4 100644 (file)
@@ -612,7 +612,7 @@ error (s1, s2, s3)
   else if (s2)
     fprintf (stderr, s1, s2);
   else
-    fprintf (stderr, s1);
+    fprintf (stderr, "%s", s1);
   fprintf (stderr, "\n");
 }