summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 3cab816d..ddb9ee49 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -288,7 +288,7 @@ int main(int argc, char **argv) {
288 unit.name = strdup(filesystem->group); 288 unit.name = strdup(filesystem->group);
289 measurements = current = add_measurement_list(NULL, unit); 289 measurements = current = add_measurement_list(NULL, unit);
290 } else { 290 } else {
291 // if this is the first element of a group, the name of the previos entry is different 291 // if this is the first element of a group, the name of the previous entry is different
292 if (strcmp(filesystem->group, current->unit.name) != 0) { 292 if (strcmp(filesystem->group, current->unit.name) != 0) {
293 // so, this must be the first element of a group 293 // so, this must be the first element of a group
294 measurement_unit unit = create_measurement_unit_from_filesystem(*filesystem, config.display_mntp); 294 measurement_unit unit = create_measurement_unit_from_filesystem(*filesystem, config.display_mntp);
@@ -310,7 +310,7 @@ int main(int argc, char **argv) {
310 mp_add_subcheck_to_check(&overall, unit_sc); 310 mp_add_subcheck_to_check(&overall, unit_sc);
311 } 311 }
312 } else { 312 } else {
313 // Aparently no machting fs found 313 // Apparently no machting fs found
314 mp_subcheck none_sc = mp_subcheck_init(); 314 mp_subcheck none_sc = mp_subcheck_init();
315 xasprintf(&none_sc.output, "No filesystems were found for the provided parameters"); 315 xasprintf(&none_sc.output, "No filesystems were found for the provided parameters");
316 316
@@ -833,7 +833,7 @@ check_disk_config_wrapper process_arguments(int argc, char **argv) {
833 warn_freeinodes_percent, crit_freeinodes_percent); 833 warn_freeinodes_percent, crit_freeinodes_percent);
834 } 834 }
835 835
836 // If a list of paths has not been explicitely selected, find entire 836 // If a list of paths has not been explicitly selected, find entire
837 // mount list and create list of paths 837 // mount list and create list of paths
838 if (!path_selected && !result.config.path_ignored) { 838 if (!path_selected && !result.config.path_ignored) {
839 for (struct mount_entry *me = result.config.mount_list; me; me = me->me_next) { 839 for (struct mount_entry *me = result.config.mount_list; me; me = me->me_next) {