HomeFreeBSD

Use nitems instead of "sizeof ypaliases/sizeof ypaliases[0]".

Description

Use nitems instead of "sizeof ypaliases/sizeof ypaliases[0]".
Make the if statement more expressive.

Differential Revision: D3366
Reviewed by: ed
Approved by: bapt, rodrigc (mentor)

Details

Provenance
araujoAuthored on
Reviewer
ed
Differential Revision
D3366: Use nitems and make few small clean ups.
Parents
rS286715: Remove the mention of memcpy(3) that is build on top of bcopy(3).
Branches
Unknown
Tags
Unknown