summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-plugins_check__load.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-02-24 15:38:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-02-24 15:38:17 +0000
commit4380fd6e3c7c8947ee02c5d21e8cbb53905bec64 (patch)
treedc36cb1e00203fdc87eb3be6adfde3080568f275 /net-mgmt/nagios-plugins/files/patch-plugins_check__load.c
parentUpdate to latest commit. (diff)
Update to 2.3.2.
General cleanup.
Notes
Notes: svn path=/head/; revision=526977
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins_check__load.c')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-plugins_check__load.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins_check__load.c b/net-mgmt/nagios-plugins/files/patch-plugins_check__load.c
index 22fe2c3f9d67..4252831c1f7e 100644
--- a/net-mgmt/nagios-plugins/files/patch-plugins_check__load.c
+++ b/net-mgmt/nagios-plugins/files/patch-plugins_check__load.c
@@ -1,5 +1,14 @@
---- plugins/check_load.c.orig 2019-12-09 11:57:36 UTC
+--- plugins/check_load.c.orig 2020-02-24 15:17:13 UTC
+++ plugins/check_load.c
+@@ -111,7 +111,7 @@ main (int argc, char **argv)
+ int len;
+ #endif
+
+- setlocale (LC_ALL, "");
++ setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+ setlocale(LC_NUMERIC, "POSIX");
@@ -351,6 +351,7 @@ int cmpstringp(const void *p1, const void *p2) {
pid_t kthread_ppid = 0;
int procvsz = 0;