devargs: use a comma to separate key/values for bsd
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 25 Apr 2014 11:59:42 +0000 (13:59 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 29 Apr 2014 23:31:08 +0000 (01:31 +0200)
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 <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/bsdapp/eal/eal.c

index ddfb026..adb9e6e 100644 (file)
@@ -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';