Skip to content
Commit 3639dbd7 authored by Xu Panda's avatar Xu Panda Committed by Sebastian Reichel
Browse files

power: supply: test-power: use strscpy() instead of strncpy()



The implementation of strscpy() is more robust and safer.
That's now the recommended way to copy NUL-terminated strings.

Signed-off-by: default avatarXu Panda <xu.panda@zte.com.cn>
Signed-off-by: default avatarYang Yang <yang.yang29@zte.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent e2b018cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment