wmcdplay: Remove extra argument to format in fprintf.

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/
This commit is contained in:
Doug Torrance 2014-12-18 12:30:42 -06:00 committed by Carlos R. Mafra
parent 149419b277
commit 60cb7c34e9

View file

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