multipath tests: util: fix clang strlcpy warnings
authorMartin Wilck <mwilck@suse.com>
Sat, 12 Oct 2019 21:28:57 +0000 (21:28 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 2 Mar 2020 08:19:52 +0000 (09:19 +0100)
commit92fbd7b58e5efe700375a79a03772af56e262971
treef65957e15cc02ac63a605d47b7ae0d523f838e3d
parent7ad200145bcd32649bf8829caa2b893bd876a008
multipath tests: util: fix clang strlcpy warnings

clang erroneously thought that we were using the size of the source
for the destination, while they are equal. Trick it into accepting
the code.

Signed-off-by: Martin Wilck <mwilck@suse.com>
tests/util.c