[Pkg-wmaker-commits] [wmcdplay] 43/79: wmcdplay: Remove extra argument to format in fprintf.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 11:04:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmcdplay.

commit ac8c719e7769ef2c2db57c782f2bedaad5317dfb
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Dec 18 12:30:42 2014 -0600

    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.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmcdplay.cc b/wmcdplay.cc
index 1d776f3..3ca2f0b 100644
--- a/wmcdplay.cc
+++ b/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;
          }
       }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcdplay.git



More information about the Pkg-wmaker-commits mailing list