From 958162b45fb77dcacb302e6c65cc5fb45df47692 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 20 Dec 2006 19:25:59 +0000 Subject: 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 --- lib/utils_disk.c | 1 + lib/utils_disk.h | 1 + 2 files changed, 2 insertions(+) (limited to 'lib') 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) new_path->usedspace_units = NULL; new_path->usedspace_percent = NULL; new_path->usedinodes_percent = NULL; + new_path->freeinodes_percent = NULL; if (current == NULL) { *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 thresholds *usedspace_units; thresholds *usedspace_percent; thresholds *usedinodes_percent; + thresholds *freeinodes_percent; struct mount_entry *best_match; struct parameter_list *name_next; }; -- cgit v1.2.3-74-g34f1