X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=cb0ff2ffe2ba5bfcefb046c0502021b27f4411c6;hb=6bf2e82bf5049af097beae4a8b7f086466520839;hp=ae09e6b7cfee834d69de231dda572993f056873e;hpb=7f4143effc63ffbfa7593280822e4ca2cd7e0c09;p=collectd.git diff --git a/src/df.c b/src/df.c index ae09e6b7..cb0ff2ff 100644 --- a/src/df.c +++ b/src/df.c @@ -17,7 +17,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * Authors: - * Florian octo Forster + * Florian octo Forster * Paul Sadauskas **/ @@ -321,7 +321,7 @@ static int df_read (void) } /* inode handling */ - if (report_inodes) + if (report_inodes && statbuf.f_files != 0 && statbuf.f_ffree != 0) { uint64_t inode_free; uint64_t inode_reserved;