Bug 144281 - 2 * printf-style problems
Summary: 2 * printf-style problems
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cfengine
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-05 15:49 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-11-21 13:25:37 UTC


Attachments (Terms of Use)

Description David Binderman 2005-01-05 15:49:44 UTC
Description of problem:

I just tried to compile package cfengine-2.1.11-1 from 
Redhat Fedora development tree.

The compiler said

1.

edittools.c(1434): warning #267: the format string requires additional
arguments

The source code is

      snprintf(OUTPUT,CF_BUFSIZE,"File %s did not exist and was marked
for editing");

One %s specifier, no trailing parameters. Suggest code rework.

2.

eval.c(694): warning #267: the format string requires additional arguments

The source code is

      Debug4("Checking AND Atom %s?\n");

Suggest add trailing parameter.


Version-Release number of selected component (if applicable):


How reproducible:


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


Expected results:


Additional info:

Comment 1 Thomas Woerner 2005-11-21 13:25:37 UTC
I am sorry, but cfengine did not make it into fedora core at the end.

Clogin as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.