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:
parent
149419b277
commit
60cb7c34e9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue