forked from pool/monitoring-plugins
1555f5b100
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=4
14 lines
826 B
Diff
14 lines
826 B
Diff
Index: plugins/check_disk.c
|
|
===================================================================
|
|
--- plugins/check_disk.c.orig
|
|
+++ plugins/check_disk.c
|
|
@@ -996,7 +996,7 @@ get_stats (struct parameter_list *p, str
|
|
if (verbose >= 3)
|
|
printf("Group %s: adding %llu blocks sized %llu, (%s) used_units=%g free_units=%g total_units=%g fsu_blocksize=%llu mult=%llu\n",
|
|
p_list->group, tmpfsp.fsu_bavail, tmpfsp.fsu_blocksize, p_list->best_match->me_mountdir, p_list->dused_units, p_list->dfree_units,
|
|
- p_list->dtotal_units, mult);
|
|
+ p_list->dtotal_units, tmpfsp.fsu_blocksize, mult);
|
|
|
|
/* prevent counting the first FS of a group twice since its parameter_list entry
|
|
* is used to carry the information of all file systems of the entire group */
|