diff options
author | 2019-10-14 13:58:01 +0300 | |
---|---|---|
committer | 2019-10-15 10:55:11 +0300 | |
commit | 2a43c9fc878a1d3985207a74f73a1f5aa1342655 (patch) | |
tree | d3318ba3d007003652d4cf5a0fc8f74ca56ed582 /tools/perf/scripts/python | |
parent | platform/x86: huawei-wmi: Avoid use of global variable when possible (diff) | |
download | wireguard-linux-2a43c9fc878a1d3985207a74f73a1f5aa1342655.tar.xz wireguard-linux-2a43c9fc878a1d3985207a74f73a1f5aa1342655.zip |
platform/x86: huawei-wmi: Fix a precision vs width printf bug
This was supposed to be precision "%.*s" instead of width "%*s". It's
possible that this results in printing beyond the end of the string.
Fixes: a970b95345ab ("platform/x86: huawei-wmi: Add debugfs support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions