Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
F159649830: D9937.id26106.diff
Tue, Jun 16, 3:27 PM
F159571110: D9937.diff
Mon, Jun 15, 7:26 PM
Unknown Object (File)
May 9 2026, 6:16 PM
Unknown Object (File)
May 9 2026, 6:11 PM
Unknown Object (File)
Apr 28 2026, 7:20 AM
Unknown Object (File)
Apr 28 2026, 7:11 AM
Unknown Object (File)
Apr 14 2026, 8:43 AM
Unknown Object (File)
Apr 10 2026, 12:17 AM
Subscribers

Details

Summary

As part of the clean up/simplify code that I was work on last year, convert it to use nitems().

Diff Detail

Event Timeline

markj added inline comments.
usr.bin/vmstat/vmstat.c
292

Remove the unnecessary cast and parens too?

This revision is now accepted and ready to land.Mar 10 2017, 4:33 AM
This revision was automatically updated to reflect the committed changes.