Bug 115192 - printf-style problems
Summary: printf-style problems
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: njamd
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-08 10:51 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-10-27 09:16:05 UTC


Attachments (Terms of Use)

Description d.binderman 2004-02-08 10:51:39 UTC
Description of problem:

I just tried to compile package njamd-0.9.2-9 from Fedora.

The compiler said

1.

mem_sunder.c(56): warning #268: the format string ends before this
argument

The source code is

        __nj_eprintf("NJAMD/%s: Address passed (0x%lx) is not
page-aligned\n",
                caller, (u_long)start, __nj_align);

Two % specifiers, three parameters. I'm not sure what the fix is for this.

2.

mem_under.c(82): warning #267: the format string requires additional
arguments

The source code is

            __nj_eprintf("NJAMD/%s: Double %s of address 0x%lx\n"
                    "0x%lx\n", caller, caller, (u_long)buf);

Four % specifiers, but only three parameters.



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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2004-10-27 09:16:05 UTC
njamd has been removed from the distribution.


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