[Pkg-wmaker-commits] [wmload] 11/58: wmload: Add missing format arguments to fprintf().
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:36:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmload.
commit 45167be84558023e103b6bc43c0d3005fa206ae8
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Apr 7 02:45:11 2015 -0500
wmload: Add missing format arguments to fprintf().
Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
---
wmload.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmload.c b/wmload.c
index d3bd60c..648d79e 100644
--- a/wmload.c
+++ b/wmload.c
@@ -335,13 +335,13 @@ void GetXPM(void)
ret = XpmCreatePixmapFromData(dpy, Root, alt_xpm, &wmload.pixmap,
&wmload.mask, &wmload.attributes);
if(ret != XpmSuccess)
- {fprintf(stderr, ERR_colorcells);exit(1);}
+ {fprintf(stderr, "%s\n", ERR_colorcells);exit(1);}
visible.attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
ret = XpmCreatePixmapFromData(dpy, Root, back_xpm, &visible.pixmap,
&visible.mask, &visible.attributes);
if(ret != XpmSuccess)
- {fprintf(stderr, ERR_colorcells);exit(1);}
+ {fprintf(stderr, "%s\n", ERR_colorcells);exit(1);}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmload.git
More information about the Pkg-wmaker-commits
mailing list