X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_ntp_time.c;fp=plugins%2Fcheck_ntp_time.c;h=f414c328891662fc43cd9f27e1a9e5740155f29d;hb=56c9db8516069b34a3174ee6511d5e6962007d27;hp=60e2b5a0eab03523363f8d5c758519fa3b19c9cc;hpb=14be3a7df38404c2b35007c7fbd7111eb0495980;p=nagiosplug.git diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 60e2b5a..f414c32 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -534,6 +534,10 @@ int main(int argc, char *argv[]){ double offset=0; char *result_line, *perfdata_line; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + result = offset_result = STATE_OK; if (process_arguments (argc, argv) == ERROR)