summaryrefslogtreecommitdiff
path: root/lib/librte_kvargs
diff options
context:
space:
mode:
authorKeith Wiles <keith.wiles@intel.com>2018-03-10 10:24:28 -0600
committerThomas Monjalon <thomas@monjalon.net>2018-03-28 00:43:22 +0200
commit2a5002362d2af81590c958773021cd297830f270 (patch)
treef40bc9ecdf35f827098cf66343c2c83377d03eac /lib/librte_kvargs
parentf93c7cd0823c2b268dda209e1ca8827e01900b3f (diff)
downloaddpdk-2a5002362d2af81590c958773021cd297830f270.zip
dpdk-2a5002362d2af81590c958773021cd297830f270.tar.gz
dpdk-2a5002362d2af81590c958773021cd297830f270.tar.xz
kvargs: fix syntax in comments
Use commas as separator, not semicolons. Fixes: a8b97e3a1db0 ("devargs: use a comma instead of semicolon to separate key/values") Cc: stable@dpdk.org Signed-off-by: Keith Wiles <keith.wiles@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'lib/librte_kvargs')
-rw-r--r--lib/librte_kvargs/rte_kvargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_kvargs/rte_kvargs.c b/lib/librte_kvargs/rte_kvargs.c
index 9662375..d92a5f9 100644
--- a/lib/librte_kvargs/rte_kvargs.c
+++ b/lib/librte_kvargs/rte_kvargs.c
@@ -13,7 +13,7 @@
/*
* Receive a string with a list of arguments following the pattern
- * key=value;key=value;... and insert them into the list.
+ * key=value,key=value,... and insert them into the list.
* strtok() is used so the params string will be copied to be modified.
*/
static int
@@ -154,7 +154,7 @@ rte_kvargs_free(struct rte_kvargs *kvlist)
}
/*
- * Parse the arguments "key=value;key=value;..." string and return
+ * Parse the arguments "key=value,key=value,..." string and return
* an allocated structure that contains a key/value list. Also
* check if only valid keys were used.
*/