Page MenuHomeFreeBSD

Use nitems().
ClosedPublic

Authored by araujo on Mar 10 2017, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 26, 8:08 PM
Unknown Object (File)
Wed, Sep 9, 2:15 AM
Unknown Object (File)
Mon, Aug 31, 3:49 AM
Unknown Object (File)
Aug 15 2026, 3:31 AM
Unknown Object (File)
Aug 11 2026, 8:10 AM
Unknown Object (File)
Aug 9 2026, 3:14 AM
Unknown Object (File)
Jul 25 2026, 6:05 PM
Unknown Object (File)
Jul 19 2026, 3:27 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
usr.bin/vmstat/vmstat.c
292 ↗(On Diff #26106)

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.