summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-31 00:46:10 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-31 00:46:10 +0200
commit1b0085c2e7196aa77d605e8cb1863064a8e5189c (patch)
tree64ad8da8000bf7195b7ad7daa4406e8d6be25354 /plugins/check_disk.c
parentd6d394fb0e1d04bbdb9304dcedad933878846266 (diff)
downloadmonitoring-plugins-1b0085c2e7196aa77d605e8cb1863064a8e5189c.tar.gz
Fixes problems after a4cf2e79f75dce3828be21726f10c755f652f710
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index e53ec87f..515ddff0 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -1112,7 +1112,7 @@ mp_subcheck evaluate_filesystem(measurement_unit measurement_unit, bool display_
1112 get_unit_string(unit), (uintmax_t)(measurement_unit.total_bytes / unit), get_unit_string(unit)); 1112 get_unit_string(unit), (uintmax_t)(measurement_unit.total_bytes / unit), get_unit_string(unit));
1113 } else { 1113 } else {
1114 xasprintf(&freespace_bytes_sc.output, "Free space absolute: %s (of %s)", humanize_byte_value(measurement_unit.free_bytes, false), 1114 xasprintf(&freespace_bytes_sc.output, "Free space absolute: %s (of %s)", humanize_byte_value(measurement_unit.free_bytes, false),
1115 humanize_byte_value(measurement_unit.total_bytes, false)); 1115 humanize_byte_value((unsigned long long)measurement_unit.total_bytes, false));
1116 } 1116 }
1117 1117
1118 mp_perfdata used_space = perfdata_init(); 1118 mp_perfdata used_space = perfdata_init();