summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index e3ac2c8e..86e3d098 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)