Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374591
b: refs/heads/master
c: 99871a7
h: refs/heads/master
i:
  374589: ed51ae6
  374587: 2573d37
  374583: c6f0a9e
  374575: bb15f5f
  374559: 6a15041
  374527: b49bcd9
v: v3
  • Loading branch information
Eduardo Valentin authored and Zhang Rui committed Apr 24, 2013
1 parent 448cbbb commit be7ce91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 135266b4ea4567419c475354437b7aaa96023d9e
refs/heads/master: 99871a714b0a9429e960629fbc2c6c20c57ea484
3 changes: 2 additions & 1 deletion trunk/drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ struct thermal_cooling_device *cpufreq_cooling_register(
return ERR_PTR(-EINVAL);
}

sprintf(dev_name, "thermal-cpufreq-%d", cpufreq_dev->id);
snprintf(dev_name, sizeof(dev_name), "thermal-cpufreq-%d",
cpufreq_dev->id);

cool_dev = thermal_cooling_device_register(dev_name, cpufreq_dev,
&cpufreq_cooling_ops);
Expand Down

0 comments on commit be7ce91

Please sign in to comment.