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 Aug 13 2015, 2:36 AM
Parents
rG9b7147021496: Remove the mention of memcpy(3) that is build on top of bcopy(3).
Branches
Unknown
Tags
Unknown

Event Timeline