diff options
-rw-r--r-- | plugins/check_disk.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index d1d1b92a..037a6f7a 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -156,20 +156,20 @@ static struct name_list *seen = NULL; | |||
156 | int main(int argc, char **argv) { | 156 | int main(int argc, char **argv) { |
157 | int result = STATE_UNKNOWN; | 157 | int result = STATE_UNKNOWN; |
158 | int disk_result = STATE_UNKNOWN; | 158 | int disk_result = STATE_UNKNOWN; |
159 | char *output; | 159 | char *output = NULL; |
160 | char *ignored; | 160 | char *ignored = NULL; |
161 | char *details; | 161 | char *details = NULL; |
162 | char *perf; | 162 | char *perf = NULL; |
163 | char *perf_ilabel; | 163 | char *perf_ilabel = NULL; |
164 | char *preamble = " - free space:"; | 164 | char *preamble = " - free space:"; |
165 | char *ignored_preamble = " - ignored paths:"; | 165 | char *ignored_preamble = " - ignored paths:"; |
166 | char *flag_header; | 166 | char *flag_header = NULL; |
167 | int temp_result; | 167 | int temp_result = STATE_UNKNOWN; |
168 | 168 | ||
169 | struct mount_entry *me; | 169 | struct mount_entry *me = NULL; |
170 | struct fs_usage fsp; | 170 | struct fs_usage fsp = {0}; |
171 | struct parameter_list *temp_list; | 171 | struct parameter_list *temp_list = NULL; |
172 | struct parameter_list *path; | 172 | struct parameter_list *path = NULL; |
173 | 173 | ||
174 | #ifdef __CYGWIN__ | 174 | #ifdef __CYGWIN__ |
175 | char mountdir[32]; | 175 | char mountdir[32]; |