From e90b9c52f8affc46ba41266ecdfe29bddaf62b0e Mon Sep 17 00:00:00 2001 From: Gaetan Rivet Date: Wed, 13 May 2020 12:42:29 +0200 Subject: [PATCH] kvargs: fix strcmp helper documentation Minor error, "unless" was used instead of "unlike". Fixes: a3b85476c51e ("kvargs: add generic string matching callback") Cc: stable@dpdk.org Signed-off-by: Gaetan Rivet --- lib/librte_kvargs/rte_kvargs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_kvargs/rte_kvargs.h b/lib/librte_kvargs/rte_kvargs.h index 1946195de4..eff598e08b 100644 --- a/lib/librte_kvargs/rte_kvargs.h +++ b/lib/librte_kvargs/rte_kvargs.h @@ -171,7 +171,7 @@ unsigned rte_kvargs_count(const struct rte_kvargs *kvlist, * 0 if the strings match. * !0 otherwise or on error. * - * Unless strcmp, comparison ordering is not kept. + * Unlike strcmp, comparison ordering is not kept. * In order for rte_kvargs_process to stop processing on match error, * a negative value is returned even if strcmp had returned a positive one. */ -- 2.20.1