ethdev: replace snprintf with strlcpy on init
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 28 Feb 2019 22:47:54 +0000 (14:47 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitddf5a9c6d7aa240b1b97a4735a2abc1afe3c57af
tree75279c45d7b85e159035c11ceaedabf683857a12
parente97f83e452b8b2498c3c6ce2ff0cf94b65a62306
ethdev: replace snprintf with strlcpy on init

Don't need to use snprintf for simple name copy.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
lib/librte_ethdev/rte_ethdev.c