HomeFreeBSD

ctladm: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Description

ctladm: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Pull Request: https://github.com/freebsd/freebsd-src/pull/888
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
(cherry picked from commit 2f8ea2f605acbeadb3c2fe9d336fcf558f2d4fa6)

Details

Provenance
ehaouas_noos.frAuthored on Nov 7 2023, 5:11 PM
jhbCommitted on Aug 27 2024, 4:35 PM
Parents
rGb2a3826e9d59: ctld: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])
Branches
Unknown
Tags
Unknown