Bug 143293 - check-0.9.3-2: printf problems
Summary: check-0.9.3-2: printf problems
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 21:38 UTC by David Binderman
Modified: 2006-02-24 11:17 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-01-15 21:38:01 UTC
I just tried to compile package check-0.9.3-2 with the Intel C compiler

It said

check_pack.c(250): warning #267: the format string requires additional arguments

The source code is

	eprintf ("%s:%d:Bad message type arg", file, line);

but

void eprintf (const char *fmt, const char *file, int line,...);

The %s and %d refer to arguments past the line argument. I note that
the type argument isn't printed. Maybe

	eprintf ("Bad message type arg %d", file, line, type);

would be a suitable fix ?