diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-10-27 07:22:58 +0200 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2023-10-28 12:20:55 -0400 |
commit | f2698cdae92237d5b631877b5dba4f46cd5cdfcd (patch) | |
tree | 359d3091497c7c95518f51062be7428399ffc61a /net-analyzer | |
parent | dev-python/lrcalc: python-3.12 support (diff) | |
download | gentoo-f2698cdae92237d5b631877b5dba4f46cd5cdfcd.tar.gz gentoo-f2698cdae92237d5b631877b5dba4f46cd5cdfcd.tar.bz2 gentoo-f2698cdae92237d5b631877b5dba4f46cd5cdfcd.zip |
net-analyzer/monitoring-plugins: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/33534
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch b/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch deleted file mode 100644 index cbd458372133..000000000000 --- a/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://bugs.gentoo.org/830249 -https://github.com/monitoring-plugins/monitoring-plugins/issues/1357 -https://github.com/monitoring-plugins/monitoring-plugins/commit/e17c1e9ed95b8b9681dccd5a909ac5a02a04416c - -diff --git a/plugins/check_disk.c b/plugins/check_disk.c -index 844e625f..a2735195 100644 ---- a/plugins/check_disk.c -+++ b/plugins/check_disk.c -@@ -1068,10 +1068,7 @@ get_stats (struct parameter_list *p, struct fs_usage *fsp) { - - void - get_path_stats (struct parameter_list *p, struct fs_usage *fsp) { -- /* 2007-12-08 - Workaround for Gnulib reporting insanely high available -- * space on BSD (the actual value should be negative but fsp->fsu_bavail -- * is unsigned) */ -- p->available = fsp->fsu_bavail > fsp->fsu_bfree ? 0 : fsp->fsu_bavail; -+ p->available = fsp->fsu_bavail; - p->available_to_root = fsp->fsu_bfree; - p->used = fsp->fsu_blocks - fsp->fsu_bfree; - if (freespace_ignore_reserved) { |