Commit 326f6a5c authored by Chris Wright's avatar Chris Wright Committed by Dave Jones

[CPUFREQ] Fix format string bug.

Format string bug.  Not exploitable, as this is only writable by root,
but worth fixing all the same.
Spotted-by: default avatarIlja van Sprundel <ilja@netric.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent dca02613
......@@ -412,7 +412,7 @@ static int cpufreq_parse_governor(char *str_governor, unsigned int *policy,
int ret;
mutex_unlock(&cpufreq_governor_mutex);
ret = request_module(name);
ret = request_module("%s", name);
mutex_lock(&cpufreq_governor_mutex);
if (ret == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment