HomeFreeBSD

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

Description

zonectl: 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>

Details

Provenance
ehaouas_noos.frAuthored on Nov 7 2023, 5:14 PM
impCommitted on Apr 29 2024, 3:30 AM
Parents
rGcbfd42cc07cc: wlandebug: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])
Branches
Unknown
Tags
Unknown