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>
1 file changed