summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-12-11 05:57:35 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-12-11 05:57:35 +0000
commit56c9db8516069b34a3174ee6511d5e6962007d27 (patch)
tree73ebcece0b7acccad3a4f1ff2c30c43e7c7b9bef /plugins-root/check_icmp.c
parent14be3a7df38404c2b35007c7fbd7111eb0495980 (diff)
downloadmonitoring-plugins-56c9db8516069b34a3174ee6511d5e6962007d27.tar.gz
Adding missing function calls needed for i18n (only for plugins already in POTFILES.in)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r--plugins-root/check_icmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index f0ba9d0c..7636bc71 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -371,6 +371,10 @@ main(int argc, char **argv)
371 int icmp_sockerrno, udp_sockerrno, tcp_sockerrno; 371 int icmp_sockerrno, udp_sockerrno, tcp_sockerrno;
372 int result; 372 int result;
373 struct rta_host *host; 373 struct rta_host *host;
374
375 setlocale (LC_ALL, "");
376 bindtextdomain (PACKAGE, LOCALEDIR);
377 textdomain (PACKAGE);
374 378
375 /* print a helpful error message if geteuid != 0 */ 379 /* print a helpful error message if geteuid != 0 */
376 np_warn_if_not_root(); 380 np_warn_if_not_root();