summaryrefslogtreecommitdiff
path: root/drivers/net/failsafe/failsafe_eal.c
diff options
context:
space:
mode:
authorGaetan Rivet <gaetan.rivet@6wind.com>2018-07-11 23:44:52 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-07-15 23:42:10 +0200
commita23bc2c4e01bf29ed6dd571dbc5b76cc69c10b51 (patch)
tree5143a7fb07a07886fddc094bbb0cc3c6aae78285 /drivers/net/failsafe/failsafe_eal.c
parent0436120e33e0e117ce294a024555f522a7e68fb3 (diff)
downloaddpdk-next-eventdev-a23bc2c4e01bf29ed6dd571dbc5b76cc69c10b51.zip
dpdk-next-eventdev-a23bc2c4e01bf29ed6dd571dbc5b76cc69c10b51.tar.gz
dpdk-next-eventdev-a23bc2c4e01bf29ed6dd571dbc5b76cc69c10b51.tar.xz
devargs: add non-variadic parsing function
rte_devargs_parse becomes non-variadic, rte_devargs_parsef becomes the variadic version, to be used to compose device strings. Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'drivers/net/failsafe/failsafe_eal.c')
-rw-r--r--drivers/net/failsafe/failsafe_eal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/failsafe/failsafe_eal.c b/drivers/net/failsafe/failsafe_eal.c
index 5672f39..ce1633f 100644
--- a/drivers/net/failsafe/failsafe_eal.c
+++ b/drivers/net/failsafe/failsafe_eal.c
@@ -86,7 +86,7 @@ fs_bus_init(struct rte_eth_dev *dev)
else
snprintf(devstr, sizeof(devstr), "%s",
rte_eth_devices[pid].device->name);
- ret = rte_devargs_parse(da, "%s", devstr);
+ ret = rte_devargs_parse(da, devstr);
if (ret) {
ERROR("Probed devargs parsing failed with code"
" %d", ret);