aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorGravatar M. Sean Finney <seanius@users.sourceforge.net> 2005-06-28 02:26:18 +0000
committerGravatar M. Sean Finney <seanius@users.sourceforge.net> 2005-06-28 02:26:18 +0000
commit2f904659dc3179148215f16aad4f9098aef222c5 (patch)
treecfb90680f356f31393afaf38a2c48ae54ad40689 /plugins/check_load.c
parentd4c0948266f261525e12c58d58e0fc68987a9818 (diff)
downloadmonitoring-plugins-2f904659dc3179148215f16aad4f9098aef222c5.tar.gz
set LC_NUMERIC to POSIX in check_load (1164325)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 9625036d..21627fee 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -100,6 +100,7 @@ main (int argc, char **argv)
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+ setlocale(LC_NUMERIC, "POSIX");
if (process_arguments (argc, argv) == ERROR)
usage4 (_("Could not parse arguments"));