Bug 137380

Summary: asusfan-0.1-4: bad % specifier
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Ulrich Hecht <uli>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-12-07 14:47:50 UTC
I just tried to compile package asusfan-0.1-4 with the Intel C
compiler. It said

main.c(219): warning #192: unrecognized character escape sequence
main.c(219): warning #269: invalid format string conversion

The source code is

	printf("Current Fan Speed: %d\%\n",libasus_get_gpu_pwmspeed(card));

Suggest new code

	printf("Current Fan Speed: %d%%\n",libasus_get_gpu_pwmspeed(card));

to shut the compiler up.
Comment 1 Ulrich Hecht 2005-12-07 16:05:16 UTC
fixed in STABLE