Code

cgroups_cpuacct plugin: Minor style fixes.
authorFlorian Forster <octo@collectd.org>
Thu, 18 Apr 2013 10:05:12 +0000 (12:05 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 Apr 2013 10:05:12 +0000 (12:05 +0200)
commit24849d59da1a5a5164266c16780ddb1c735f657f
tree0ff4d11dd2a3445555c63c5ab20e96e5aa43c150
parent5d9ad0bcb8b1ae1b7b0994f51237c04273f5cfbc
cgroups_cpuacct plugin: Minor style fixes.

* Avoid mixed declarations.
* Use parse_value() rather than atoll().
* Comment static arguments to walk_directory().
* Return an error if the read() function can't locate the cgroup
  mount point.
src/cgroups_cpuacct.c