The call to strlcpy uses either libc, libbsd or internal rte_strlcpy.
No need to call the DPDK flavor explicitly.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
if (strlen(arg) > (sizeof(test_data->driver_name) - 1))
return -1;
- rte_strlcpy(test_data->driver_name, arg,
+ strlcpy(test_data->driver_name, arg,
sizeof(test_data->driver_name));
return 0;
if (strlen(arg) > (sizeof(test_data->input_file) - 1))
return -1;
- rte_strlcpy(test_data->input_file, arg, sizeof(test_data->input_file));
+ strlcpy(test_data->input_file, arg, sizeof(test_data->input_file));
return 0;
}