[Pkg-wmaker-commits] [wmcoincoin] 37/87: Fix -Werror=format-security compiler errors.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.

commit 5e1312823d0d75e5980c29401852e7995a11bc98
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Nov 11 12:13:18 2014 -0600

    Fix -Werror=format-security compiler errors.
---
 src/prefs_gestion.c | 2 +-
 src/wmcoincoin.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/prefs_gestion.c b/src/prefs_gestion.c
index 5060844..30af66e 100644
--- a/src/prefs_gestion.c
+++ b/src/prefs_gestion.c
@@ -778,7 +778,7 @@ wmcc_prefs_relecture(Dock *dock, int whatfile)
     /* MISE A JOUR DU COINCOIN */
     if (reset_dock_pix) { 
       if ((errmsg=dock_build_pixmap_porte(dock))) {
-	fprintf(stderr, errmsg);
+	fprintf(stderr, "%s", errmsg);
       }
       close_palmi = 1;
     }
diff --git a/src/wmcoincoin.c b/src/wmcoincoin.c
index b95b154..e14caa9 100644
--- a/src/wmcoincoin.c
+++ b/src/wmcoincoin.c
@@ -2174,7 +2174,7 @@ int main(int argc, char **argv)
 
 
     if ((errmsg=dock_build_pixmap_porte(dock))) {
-      fprintf(stderr, errmsg);
+      fprintf(stderr, "%s", errmsg);
     }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git



More information about the Pkg-wmaker-commits mailing list