Bug 151487

Summary: mgetty-1.1.33-4: printf problems
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Marian Jancar <mjancar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-02-16 13:38:52 UTC
I just tried to compile package mgetty-1.1.33-4 with the Intel C 
compiler.

It said

locks.c(193): warning #267: the format string requires additional arguments

The source code is

	lprintf( L_ERROR, "can't open %d for read/write" );

I agree with the compiler. Suggest either add a trailing parameter for the
%d, or remove the %d specifier.
Comment 1 Anna Maresova 2006-02-27 16:37:18 UTC
fixed