]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use nitems instead of "sizeof ypaliases/sizeof ypaliases[0]".
authoraraujo <araujo@FreeBSD.org>
Thu, 13 Aug 2015 02:36:37 +0000 (02:36 +0000)
committeraraujo <araujo@FreeBSD.org>
Thu, 13 Aug 2015 02:36:37 +0000 (02:36 +0000)
commitbc6d0f54b1689cf5852d9dc70a464a73077fc305
tree73cd46e1f1f99eeed373625e13c683b794fbf228
parent2115d98b6b95b9077f77d06b950b9d525af100b3
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)
usr.bin/ypcat/ypcat.c
usr.bin/ypwhich/ypwhich.c