diff options
author | Srinivas Pandruvada <[email protected]> | 2013-11-04 08:53:10 -0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-11-05 02:36:57 +0100 |
commit | 08ff4cbe10da402e7c493ac72e298975f62a9e78 (patch) | |
tree | 7bd6a7992069fcaa3f6411e3a02d33d531126fc6 /lib/test-string_helpers.c | |
parent | 9e3410b764b79670a59d6c1ccdcad483b92c058c (diff) |
PowerCap: Fix build error with option -Werror=format-security
Fix compile error with gcc option: -Werror=format-security for
dev_set_name(&control_type->dev, name).
Changed to dev_set_name(&control_type->dev, "%s", name).
Signed-off-by: Srinivas Pandruvada <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions