summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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};