diff options
author | George Amanakis <[email protected]> | 2020-05-19 17:24:10 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-19 14:24:10 -0700 |
commit | 7cd723e685a83b0d5ae5e196bb90202c630fc571 (patch) | |
tree | 1830df031a39f99fc3b4a73697d13de141368d25 /tests | |
parent | 5b090d57d4da09a3372b9566c46dfc51a13433c6 (diff) |
Fix gcc 10.1 stringop-truncation error
As we do not expect the destination of these strncpy calls to be NULL
terminated, substitute them with memcpy.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #10346
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions