projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: cleanup whitespace
[collectd.git]
/
src
/
df.c
diff --git
a/src/df.c
b/src/df.c
index
74292d7
..
ff70172
100644
(file)
--- a/
src/df.c
+++ b/
src/df.c
@@
-17,7
+17,7
@@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
- * Florian octo Forster <octo at
verplant
.org>
+ * Florian octo Forster <octo at
collectd
.org>
* Paul Sadauskas <psadauskas at gmail.com>
**/
* Paul Sadauskas <psadauskas at gmail.com>
**/
@@
-53,7
+53,6
@@
static const char *config_keys[] =
"FSType",
"IgnoreSelected",
"ReportByDevice",
"FSType",
"IgnoreSelected",
"ReportByDevice",
- "ReportReserved",
"ReportInodes",
"ValuesAbsolute",
"ValuesPercentage"
"ReportInodes",
"ValuesAbsolute",
"ValuesPercentage"
@@
-271,11
+270,7
@@
static int df_read (void)
else
{
if (strcmp (mnt_ptr->dir, "/") == 0)
else
{
if (strcmp (mnt_ptr->dir, "/") == 0)
- {
- if (strcmp (mnt_ptr->type, "rootfs") == 0)
- continue;
sstrncpy (disk_name, "root", sizeof (disk_name));
sstrncpy (disk_name, "root", sizeof (disk_name));
- }
else
{
int i, len;
else
{
int i, len;