author | Toni Ylenius <toniylenius@gmail.com> | |
Fri, 6 Jan 2012 16:13:56 +0000 (18:13 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 21 Jan 2012 11:02:59 +0000 (12:02 +0100) | ||
commit | ca65f66c3cdbbb8af941d3624b85757355f38ad8 | |
tree | dd2ea8d7da382c099fee955644c36f5b9c98a001 | tree | snapshot |
parent | bf160b5fd74ac8553512a5d05682093faafd34f9 | commit | diff |
df: Set negative free space values to zero.
Some file systems (eg. UFS) may report negative free spave values.
Previously this caused underflow, but now it is prevented by setting
negative values to zero.
Change-Id: I821adb8a6d7a40dcbd6c65ab3541fbcd714f8aba
Conflicts:
src/df.c
Some file systems (eg. UFS) may report negative free spave values.
Previously this caused underflow, but now it is prevented by setting
negative values to zero.
Change-Id: I821adb8a6d7a40dcbd6c65ab3541fbcd714f8aba
Conflicts:
src/df.c
src/df.c | diff | blob | history |