From c431df41bce3f9d73febea83964b351060f17887 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 25 Apr 2014 13:59:42 +0200 Subject: [PATCH] devargs: use a comma to separate key/values for bsd The bsdapp part was missing in commit a8b97e3a1db0a9366d58811411b904e4fef8160f. This commit changes the API of --use-device command line argument. It changes the separators from ';' to ','. Signed-off-by: Olivier Matz Acked-by: Neil Horman --- lib/librte_eal/bsdapp/eal/eal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index ddfb026ab9..adb9e6e23d 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -494,7 +494,7 @@ eal_parse_use_device(const char *optarg) return -1; /* remove arguments in 'dup' string */ - sep = strchr(dup, ';'); + sep = strchr(dup, ','); if (sep != NULL) *sep = '\0'; -- 2.20.1