From 60cb7c34e92fd1a18e7a08176ea2f29cbc204f0c Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Thu, 18 Dec 2014 12:30:42 -0600 Subject: [PATCH] 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/ --- 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; } }