]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
devstat(9): Constify function parameters that can be const
authorcem <cem@FreeBSD.org>
Thu, 23 Aug 2018 01:42:45 +0000 (01:42 +0000)
committercem <cem@FreeBSD.org>
Thu, 23 Aug 2018 01:42:45 +0000 (01:42 +0000)
commitc843990202db10b55dafe23ed44fb0891135a0be
tree770474616d20f553d03b7d62b00cff0af61d1c34
parentfea99832f5b6d7040cbbdc5c045ec738c5eb6fc5
devstat(9): Constify function parameters that can be const

No functional change.

When attempting to document the changed argument types in devstat.9, I
discovered the 20 year old manual page severely mismatched reality even
prior to my simple change.  So I took a first cut pass cleaning that up to
match reality.  I'm sure I've missed some things; the goal was just to leave
it better than when I started.

Sponsored by: Dell EMC Isilon
share/man/man9/devstat.9
sys/kern/subr_devstat.c
sys/sys/devicestat.h