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 fd768b2..877b80d 100644
--- a/lib/utils_disk.c
+++ b/lib/utils_disk.c
@@ -61,6 +61,7 @@ np_add_parameter(struct parameter_list **list, const char *name)
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 new_path->freeinodes_percent = NULL;
64 new_path->group = NULL;
64 65
65 if (current == NULL) { 66 if (current == NULL) {
66 *list = new_path; 67 *list = new_path;
diff --git a/lib/utils_disk.h b/lib/utils_disk.h
index 55de938..331c16d 100644
--- a/lib/utils_disk.h
+++ b/lib/utils_disk.h
@@ -20,6 +20,7 @@ struct parameter_list
20 thresholds *usedspace_percent; 20 thresholds *usedspace_percent;
21 thresholds *usedinodes_percent; 21 thresholds *usedinodes_percent;
22 thresholds *freeinodes_percent; 22 thresholds *freeinodes_percent;
23 char *group;
23 struct mount_entry *best_match; 24 struct mount_entry *best_match;
24 struct parameter_list *name_next; 25 struct parameter_list *name_next;
25}; 26};