Damien Le Moal 1aeb6e7cd1 dm ioctl: Fix compilation warning
In retrieve_status(), when copying the target type name in the
target_type string field of struct dm_target_spec, copy at most
DM_MAX_TYPE_NAME - 1 character to avoid the compilation warning:

warning: ‘__builtin_strncpy’ specified bound 16 equals destination
size [-Wstringop-truncation]

when compiling with W-1.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2020-08-04 15:50:58 -04:00
..
2019-11-12 19:12:07 -07:00
2020-08-04 15:50:58 -04:00
2020-08-04 15:48:48 -04:00
2020-07-08 12:50:51 -04:00
2019-08-23 10:13:12 -04:00
2019-03-12 10:15:18 -07:00