df: Set negative free space values to zero.
authorToni Ylenius <toniylenius@gmail.com>
Fri, 6 Jan 2012 16:13:56 +0000 (18:13 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 21 Jan 2012 11:02:59 +0000 (12:02 +0100)
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


No differences found