X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fxpm-ximage.c;h=43ac2ae64bdbb70938013b72e10dca424d43ca7b;hp=901ce678281dd7cc8e3735a3520b8cb2145fac09;hb=c28aecf9fc41e3a03494bacf7279745425e2fa18;hpb=723c9eeee862766a1534b2ce17b78adbfac1c3be diff --git a/hacks/glx/xpm-ximage.c b/hacks/glx/xpm-ximage.c index 901ce678..43ac2ae6 100644 --- a/hacks/glx/xpm-ximage.c +++ b/hacks/glx/xpm-ximage.c @@ -205,7 +205,7 @@ xpm_to_ximage_1 (Display *dpy, Visual *visual, Colormap cmap, xpm_data = 0; if (! XpmReadFileToData ((char *) filename, &xpm_data)) { - fprintf (stderr, "%s: unable to read XPM file %f\n", + fprintf (stderr, "%s: unable to read XPM file %s\n", progname, filename); exit (1); } @@ -240,7 +240,7 @@ xpm_to_ximage_1 (Display *dpy, Visual *visual, Colormap cmap, const char *c = xpm_image.colorTable[i].c_color; if (!c) { - fprintf(stderr, "%s: bogus color table? ($d)\n", progname, i); + fprintf(stderr, "%s: bogus color table? (%d)\n", progname, i); exit (1); } else if (!strncasecmp (c, "None", 4))