This avoids the following warning during build: "warning: too many arguments for format [-Wformat-extra-args]" .
Patch from Debian [1]. [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/remove_extra_arg.patch/ --- wmcdplay/wmcdplay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmcdplay/wmcdplay.cc b/wmcdplay/wmcdplay.cc index 1d776f3..3ca2f0b 100644 --- a/wmcdplay/wmcdplay.cc +++ b/wmcdplay/wmcdplay.cc @@ -632,7 +632,7 @@ bool readArtwork(char *artfilen){ sprintf(artfilenbuf, "%s%s", SYSARTDIR, artfilen); artfile=fopen(artfilenbuf, "r"); if(artfile==NULL){ - fprintf(stderr,"%s : Tried to find artwork file, but failed.\n", NAME, artfilen); + fprintf(stderr,"%s : Tried to find artwork file, but failed.\n", NAME); return false; } } -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.