Skip to contentSkip to conversation

kvargs: fix strcmp helper documentation

PATCH Applied Gaetan Rivet 2 participants 2 messages May 13, 2020 – May 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvargs: fix strcmp helper documentation

Minor error, unless was used instead of unlike.

Fixes a3b85476c51e ("kvargs: add generic string matching callback")
---
 lib/librte_kvargs/rte_kvargs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_kvargs/rte_kvargs.h +1 -1
index 1946195de..eff598e08 100644
@@ -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.
  */
Signature · 1 line
2.26.2