vmbus: fix strncpy related warnings 41/16841/2
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 16 Jan 2019 18:08:39 +0000 (10:08 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 17 Jan 2019 09:19:47 +0000 (09:19 +0000)
commit29f0a5d25c208115c8d5c2b7f96062eaef205592
tree375b09cfcda8eece2ac455594163ead03904e0ef
parent4e8a83183e9a381d6c44fa3b94faf735d536e811
vmbus: fix strncpy related warnings

The code that was manipulating interface names with ifreq was
causing warnings about possible truncation and non terminated
strings.

These are warnings only since kernel would allow a interface
name > 15 characters anyway.

Change-Id: I794a94fe310b8568403d4e3523c61d53468a6f02
Reported-by: Burt Silverman <burtms@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
src/vlib/linux/vmbus.c