Skip to content
Commit d8d005ba authored by Len Brown's avatar Len Brown
Browse files

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: default avatarLen Brown <len.brown@intel.com>
parent 081c5432
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment