Bug 149863

Summary: format string requires additional arguments
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: libsndfileAssignee: Dams <anvil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-05 20:07:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch [candidate] none

Description David Binderman 2005-02-28 14:44:37 UTC
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michael Schwendt 2005-02-28 21:33:45 UTC
Created attachment 111499 [details]
patch [candidate]

Reading the code, I've sent this upstream.

Comment 2 Michael Schwendt 2005-03-01 15:13:11 UTC
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.


Comment 3 Michael Schwendt 2005-04-05 20:07:16 UTC
fixed in libsndfile-1.0.11-1