Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
---
 wmload/wmload.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmload/wmload.c b/wmload/wmload.c
index d3bd60c..648d79e 100644
--- a/wmload/wmload.c
+++ b/wmload/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);}
 
 }
 
-- 
2.1.0


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to