eal/linux: use strlcpy in uevent parsing
authorThomas Monjalon <thomas@monjalon.net>
Tue, 17 Apr 2018 12:23:29 +0000 (14:23 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 23 Apr 2018 14:23:15 +0000 (16:23 +0200)
commit91c6de7eb7ac19afbaa8c97f9bc66427b1022347
treeafb66cf6f1e265b15306dd0d3e8ff8b1fc2ec86f
parentab66fe0e4a1ca058c4e23efd475e48788c0977e7
eal/linux: use strlcpy in uevent parsing

Support of strlcpy has recently been added to DPDK.

This replacement has been generated by the coccinelle script:
devtools/cocci.sh devtools/cocci/strlcpy.cocci

Fixes: 0d0f478d0483 ("eal/linux: add uevent parse and process")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/linuxapp/eal/eal_dev.c