use strncpy instead of strcpy Co-authored-by: Oosman Saeed <oossaeed@amd.com> [ROCm/amdsmi commit: 945e4a159c]
945e4a159c