summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-17 02:58:49 +0200
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-17 02:58:49 +0200
commitf656baa886c72083fe5768b8d2c48daad86b7d1e (patch)
tree588ed8e4c8c167274c4e27c9a6f2496b71d246c1 /plugins
parent8d9b27d8e11df4c37f3a10fd1d17b3484a401229 (diff)
downloadmonitoring-plugins-f656baa.tar.gz
Somehow the value vanished from a struct??
Diffstat (limited to 'plugins')
-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 7018c6fd..ed438085 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -1056,7 +1056,7 @@ get_path_stats (struct parameter_list *p, struct fs_usage *fsp) {
1056 p->dfree_units = p->available*fsp->fsu_blocksize/mult; 1056 p->dfree_units = p->available*fsp->fsu_blocksize/mult;
1057 p->dtotal_units = p->total*fsp->fsu_blocksize/mult; 1057 p->dtotal_units = p->total*fsp->fsu_blocksize/mult;
1058 /* Free file nodes. Not sure the workaround is required, but in case...*/ 1058 /* Free file nodes. Not sure the workaround is required, but in case...*/
1059 p->inodes_free = fsp->fsu_favail > fsp->fsu_ffree ? 0 : fsp->fsu_favail; 1059 p->inodes_free = fsp->fsu_ffree;
1060 p->inodes_free_to_root = fsp->fsu_ffree; /* Free file nodes for root. */ 1060 p->inodes_free_to_root = fsp->fsu_ffree; /* Free file nodes for root. */
1061 p->inodes_used = fsp->fsu_files - fsp->fsu_ffree; 1061 p->inodes_used = fsp->fsu_files - fsp->fsu_ffree;
1062 if (freespace_ignore_reserved) { 1062 if (freespace_ignore_reserved) {