1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

subr_pctrie: fix a comment

A comment used least > instead of greatest <.  Fix it.
This commit is contained in:
Doug Moore 2024-10-20 21:46:30 -05:00
parent 096c39fae4
commit d2d0d6cb47

View File

@ -958,7 +958,7 @@ pctrie_iter_lookup_le(struct pctrie_iter *it, uint64_t index)
/*
* If no such node was found, and instead this path leads only to nodes
* > index, back up to find a subtrie with the least value > index.
* > index, back up to find a subtrie with the greatest value < index.
*/
if (pctrie_isleaf(node) ?
(m = pctrie_toval(node)) == NULL || *m > index :