From: Olivier Matz Date: Fri, 25 Apr 2014 11:59:42 +0000 (+0200) Subject: devargs: use a comma to separate key/values for bsd X-Git-Tag: spdx-start~10872 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=c431df41bce3f9d73febea83964b351060f17887 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 --- 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';