From: Juanma Barranquero Date: Thu, 24 Jun 2010 16:12:35 +0000 (+0200) Subject: lib-src/movemail.c (error): Avoid warning when there are no args. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b3807f859b453f840acb04bf5773ab9fcce2413;p=emacs.git lib-src/movemail.c (error): Avoid warning when there are no args. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 079941811c0..5c41ad4d894 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-24 Juanma Barranquero + + * movemail.c (error): Avoid warning when there are no args. + 2010-06-11 Juanma Barranquero * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc diff --git a/lib-src/movemail.c b/lib-src/movemail.c index ea307241351..11cc5b892ec 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -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"); }