aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 7d9dd3bf..191fbedf 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -70,6 +70,10 @@ main (int argc, char **argv)
int this_result = STATE_UNKNOWN;
int i;
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
addresses = malloc ((size_t)max_addr);
if (process_arguments (argc, argv) == ERROR)