Bug 137380 - asusfan-0.1-4: bad % specifier
Summary: asusfan-0.1-4: bad % specifier
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Ulrich Hecht
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 14:47 UTC by David Binderman
Modified: 2005-12-07 16:05 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 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