summaryrefslogtreecommitdiffstats
path: root/raid5extend.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2018-05-29 22:09:47 +0200
committerJes Sorensen <jsorensen@fb.com>2018-05-29 22:09:47 +0200
commit167d8bb8302170676f0e15123738e333383fec7b (patch)
tree969445ff207b8e30eacd03ac3106cad18a4fdea5 /raid5extend.c
parentDo not confuse gcc (diff)
downloadmdadm-167d8bb8302170676f0e15123738e333383fec7b.tar.xz
mdadm-167d8bb8302170676f0e15123738e333383fec7b.zip
super-intel: Use memcpy() to avoid confusing gcc
When added :0 to serial number and copying it back, use memcpy() instead of strncpy() as we know the actual length. This stops gcc from complaining with -Werror=stringop-truncation enabled Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'raid5extend.c')
0 files changed, 0 insertions, 0 deletions