Red Hat Bugzilla – Bug 149863
format string requires additional arguments
Last modified: 2007-11-30 17:11:00 EST
Description of problem:
I just tried to compile package libsndfile-1.0.4-2 from
Redhat Fedora Extras development tree.
The compiler said
svx.c(262): warning #267: the format string requires additional arguments
The source code is
psf_log_printf (psf, " Channels : %d => %d\n", channels) ;
Two %d specifiers, only one trailing parameter. I'm not sure what the
fix is for this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 111499 [details]
Reading the code, I've sent this upstream.
Upstream acknowledged fix is to just print
psf_log_printf (psf, " Channels : %d\n", channels) ;
as the code can only handle mono files.
As an update for libsndfile was already in the fedora.us queue, I
think we somehow get that update done and this fix included, too.
fixed in libsndfile-1.0.11-1