HomeFreeBSD

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

Description

ctld: 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 8f65dcd6276bf139a2fe87c1bbeffcc1fed015e4)

Details

Provenance
ehaouas_noos.frAuthored on Nov 7 2023, 5:11 PM
jhbCommitted on Aug 27 2024, 4:35 PM
Parents
rG86a8ea7444c8: nvmecontrol: Allow optional /dev/ for device names
Branches
Unknown
Tags
Unknown