Bugzilla – Bug 143293
check-0.9.3-2: printf problems
Last modified: 2006-02-24 11:17:57 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 ?
Fixed and upstreamed. http://sourceforge.net/tracker/index.php?func=detail&aid=1438014&group_id=28255&atid=392815