cvs commit: src/lib/libdevstat devstat.h
John Baldwin
jhb at FreeBSD.org
Thu Jan 31 08:55:18 PST 2008
jhb 2008-01-31 16:55:12 UTC
FreeBSD src repository
Modified files:
lib/libdevstat devstat.h
Log:
The devstat(3) manpage claims that only <devstat.h> is needed as a
prerequisite for using this interface. However, the 'statinfo' struct
actually references CPUSTATES from <sys/resource.h>, so in fact it
requires <sys/resource.h> to compile. Use a nested include of
<sys/resource.h> to make the code match the docs.
Reported by: Pietro Cerutti gahr | gahr.ch
Revision Changes Path
1.12 +1 -0 src/lib/libdevstat/devstat.h
More information about the cvs-src
mailing list