kvargs: fix strcmp helper documentation

Minor error, "unless" was used instead of "unlike".

Fixes: a3b85476c5 ("kvargs: add generic string matching callback")
Cc: stable@dpdk.org

Signed-off-by: Gaetan Rivet <grive@u256.net>
This commit is contained in:
Gaetan Rivet 2020-05-13 12:42:29 +02:00 committed by Thomas Monjalon
parent ec5c0f80e8
commit e90b9c52f8

View file

@ -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.
*/