changeset 109041:3465b68cf225

lib-src/movemail.c (error): Avoid warning when there are no args.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 24 Jun 2010 18:12:35 +0200
parents 98796fa1a7f8
children 87285390c61e
files lib-src/ChangeLog lib-src/movemail.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Thu Jun 24 18:08:22 2010 +0200
+++ b/lib-src/ChangeLog	Thu Jun 24 18:12:35 2010 +0200
@@ -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
--- a/lib-src/movemail.c	Thu Jun 24 18:08:22 2010 +0200
+++ b/lib-src/movemail.c	Thu Jun 24 18:12:35 2010 +0200
@@ -612,7 +612,7 @@
   else if (s2)
     fprintf (stderr, s1, s2);
   else
-    fprintf (stderr, s1);
+    fprintf (stderr, "%s", s1);
   fprintf (stderr, "\n");
 }