Skip to content

Commit

Permalink
Merge branch 'powercap'
Browse files Browse the repository at this point in the history
* powercap:
  PowerCap: Fix build error with option -Werror=format-security
  • Loading branch information
rafaeljw committed Nov 7, 2013
2 parents cf8a1af + 08ff4cb commit a4aaf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/powercap/powercap_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ struct powercap_control_type *powercap_register_control_type(
control_type->ops = ops;
INIT_LIST_HEAD(&control_type->node);
control_type->dev.class = &powercap_class;
dev_set_name(&control_type->dev, name);
dev_set_name(&control_type->dev, "%s", name);
result = device_register(&control_type->dev);
if (result) {
if (control_type->allocated)
Expand Down

0 comments on commit a4aaf2e

Please sign in to comment.