02/11/2018 20:06, Ferruh Yigit: > build error: > In function ‘eal_plugin_add’, > .../lib/librte_eal/common/eal_common_options.c:225:2: > error: ‘strncpy’ output may be truncated copying 4095 bytes from a > string of length 4095 [-Werror=stringop-truncation] > strncpy(solib->name, path, PATH_MAX-1); > > strncpy may result a not null-terminated string, > replaced it with strlcpy > > Fixes: fa9cdc6f8410 ("eal: move plugin loading from linuxapp to common") > Cc: sta...@dpdk.org > > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
Series applied, thanks