summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_disk.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index eb573f5f..d37cc3a0 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -61,9 +61,6 @@ const char *email = "devel@monitoring-plugins.org";
61# define ERROR -1 61# define ERROR -1
62#endif 62#endif
63 63
64/* If nonzero, show inode information. */
65static int inode_format = 1;
66
67/* If nonzero, show even filesystems with zero size or 64/* If nonzero, show even filesystems with zero size or
68 uninteresting types. */ 65 uninteresting types. */
69static int show_all_fs = 1; 66static int show_all_fs = 1;
@@ -182,7 +179,7 @@ main (int argc, char **argv)
182 int temp_result; 179 int temp_result;
183 180
184 struct mount_entry *me; 181 struct mount_entry *me;
185 struct fs_usage fsp, tmpfsp; 182 struct fs_usage fsp;
186 struct parameter_list *temp_list, *path; 183 struct parameter_list *temp_list, *path;
187 184
188#ifdef __CYGWIN__ 185#ifdef __CYGWIN__
@@ -427,9 +424,7 @@ process_arguments (int argc, char **argv)
427 int c, err; 424 int c, err;
428 struct parameter_list *se; 425 struct parameter_list *se;
429 struct parameter_list *temp_list = NULL, *previous = NULL; 426 struct parameter_list *temp_list = NULL, *previous = NULL;
430 struct parameter_list *temp_path_select_list = NULL; 427 struct mount_entry *me;
431 struct mount_entry *me, *temp_me;
432 int result = OK;
433 regex_t re; 428 regex_t re;
434 int cflags = REG_NOSUB | REG_EXTENDED; 429 int cflags = REG_NOSUB | REG_EXTENDED;
435 int default_cflags = cflags; 430 int default_cflags = cflags;