wmload: Add missing format arguments to fprintf().

Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
This commit is contained in:
Doug Torrance 2015-04-07 02:45:11 -05:00 committed by Carlos R. Mafra
parent b3196ffdb4
commit 44bf7d58e4

View file

@ -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);}
}