From d2d0d6cb47c8568f34fff83477284dd3365b6298 Mon Sep 17 00:00:00 2001 From: Doug Moore Date: Sun, 20 Oct 2024 21:46:30 -0500 Subject: [PATCH] subr_pctrie: fix a comment A comment used least > instead of greatest <. Fix it. --- sys/kern/subr_pctrie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_pctrie.c b/sys/kern/subr_pctrie.c index 50216287845..ea1c1cf881d 100644 --- a/sys/kern/subr_pctrie.c +++ b/sys/kern/subr_pctrie.c @@ -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 :