diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-11 05:57:35 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-11 05:57:35 (GMT) |
commit | 56c9db8516069b34a3174ee6511d5e6962007d27 (patch) | |
tree | 73ebcece0b7acccad3a4f1ff2c30c43e7c7b9bef /plugins/check_ntp.c | |
parent | 14be3a7df38404c2b35007c7fbd7111eb0495980 (diff) | |
download | monitoring-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/check_ntp.c')
-rw-r--r-- | plugins/check_ntp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index e3ac2c8..86e3d09 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -757,6 +757,10 @@ int main(int argc, char *argv[]){ | |||
757 | double offset=0, jitter=0; | 757 | double offset=0, jitter=0; |
758 | char *result_line, *perfdata_line; | 758 | char *result_line, *perfdata_line; |
759 | 759 | ||
760 | setlocale (LC_ALL, ""); | ||
761 | bindtextdomain (PACKAGE, LOCALEDIR); | ||
762 | textdomain (PACKAGE); | ||
763 | |||
760 | result = offset_result = jitter_result = STATE_OK; | 764 | result = offset_result = jitter_result = STATE_OK; |
761 | 765 | ||
762 | if (process_arguments (argc, argv) == ERROR) | 766 | if (process_arguments (argc, argv) == ERROR) |