X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=a6fa526a9654135a6fa6fab42df101f56ba10a87;hb=3b618a331d47fa5868f414b42439f7a0f08667cd;hp=4936cc0c3eda2a7ddfe9cc17a6e6c9cfb6ddfe1b;hpb=26cad19ab2412d87fa01f75ab498054482a072d2;p=collectd.git diff --git a/src/df.c b/src/df.c index 4936cc0c..a6fa526a 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 **/ @@ -304,7 +304,7 @@ static int df_read (void) df_submit_one (disk_name, "df_complex", "used", (gauge_t) (blk_used * blocksize)); } - + if (values_percentage) { if (statbuf.f_blocks > 0) @@ -318,7 +318,7 @@ static int df_read (void) } else return (-1); } - + /* inode handling */ if (report_inodes) { @@ -331,7 +331,7 @@ static int df_read (void) statbuf.f_ffree = statbuf.f_favail; if (statbuf.f_files < statbuf.f_ffree) statbuf.f_files = statbuf.f_ffree; - + inode_free = (uint64_t) statbuf.f_favail; inode_reserved = (uint64_t) (statbuf.f_ffree - statbuf.f_favail); inode_used = (uint64_t) (statbuf.f_files - statbuf.f_ffree);