usrlib.de / CVS

Diff for revision 1.20 of bgset/bgset.c

--- //cvs/lukas/bgset/bgset.c	2017/03/14 17:59:29	1.19
+++ //cvs/lukas/bgset/bgset.c	2017/03/19 15:39:15	1.20
@@ -298,7 +298,7 @@
 		if (bg->filename) {
 			if (!(draw_image(dpy, scr, pxm, bg->filename, bg->mode,
 			    x, y, w, h))) {
-				warn("%s", argv[i]);
+				warn("%s", bg->filename);
 			}
 		}
 	}