commit | 7cc39577eb1c54b6eaec6a4da11da296a78accb1 | [log] [tgz] |
---|---|---|
author | Ken Dreyer <kdreyer@redhat.com> | Mon Jan 26 13:19:15 2015 -0700 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Jan 27 15:14:04 2015 +0100 |
tree | 27964c5ea13a7aa4440fe5519902137ee7d5898c | |
parent | f4b9596f4138367ca8fb8f0f32143c8c45214ff8 [diff] |
device-drivers/cpufreq: use safe format string arg Prior to this commit, the cpufreq_boost test failed to build if -Werror=format-security was used. The compiler could not examine the contents of the cdrv array. Adjust the SAFE_FILE_PRINTF call so that the format string is a string literal. Fedora recently enabled this compiler option in their RPM builds, so this fixes the build on Fedora 21. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>