summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-12-20 19:25:59 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-12-20 19:25:59 +0000
commit958162b45fb77dcacb302e6c65cc5fb45df47692 (patch)
treec1f1a55635db7bf38d071f6acbb1a5ad2060b084 /lib
parentff2e8114a43f506133755c1f8222b47601b709e3 (diff)
downloadmonitoring-plugins-958162b45fb77dcacb302e6c65cc5fb45df47692.tar.gz
Fixed inode thresholds, regressed from previous release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1554 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r--lib/utils_disk.c1
-rw-r--r--lib/utils_disk.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c
index fdbeaf1e..74708c0e 100644
--- a/lib/utils_disk.c
+++ b/lib/utils_disk.c
@@ -60,6 +60,7 @@ np_add_parameter(struct parameter_list **list, const char *name)
60 new_path->usedspace_units = NULL; 60 new_path->usedspace_units = NULL;
61 new_path->usedspace_percent = NULL; 61 new_path->usedspace_percent = NULL;
62 new_path->usedinodes_percent = NULL; 62 new_path->usedinodes_percent = NULL;
63 new_path->freeinodes_percent = NULL;
63 64
64 if (current == NULL) { 65 if (current == NULL) {
65 *list = new_path; 66 *list = new_path;
diff --git a/lib/utils_disk.h b/lib/utils_disk.h
index 700f5d26..8bf4f113 100644
--- a/lib/utils_disk.h
+++ b/lib/utils_disk.h
@@ -19,6 +19,7 @@ struct parameter_list
19 thresholds *usedspace_units; 19 thresholds *usedspace_units;
20 thresholds *usedspace_percent; 20 thresholds *usedspace_percent;
21 thresholds *usedinodes_percent; 21 thresholds *usedinodes_percent;
22 thresholds *freeinodes_percent;
22 struct mount_entry *best_match; 23 struct mount_entry *best_match;
23 struct parameter_list *name_next; 24 struct parameter_list *name_next;
24}; 25};