diff options
author | Len Brown <len.brown@intel.com> | 2020-03-20 01:33:12 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2020-03-20 07:32:27 +0300 |
commit | d8d005ba6afa502ca37ced5782f672c4d2fc1515 (patch) | |
tree | 54f928440f2357d6ea76ab7d225ffb8cb4437429 /lib/mpi/mpiutil.c | |
parent | 081c54323b27d8d4b40df6b2375b9e1f6846d827 (diff) | |
download | linux-d8d005ba6afa502ca37ced5782f672c4d2fc1515.tar.xz |
tools/power turbostat: Fix gcc build warnings
Warning: ‘__builtin_strncpy’ specified bound 20 equals destination size
[-Wstringop-truncation]
reduce param to strncpy, to guarantee that a null byte is always copied
into destination buffer.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions