diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 12:12:30 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 12:12:30 +0000 |
commit | 81bee45f6e562ffc30e1129cf00cd76444a77ce8 (patch) | |
tree | 8189c3c068bdec1f6ea8e3ca150f7ac71655d7f8 /plugins/check_time.c | |
parent | 7e2e599660083e1ce6de6d9230e456d9a4e3772d (diff) | |
download | monitoring-plugins-81bee45f6e562ffc30e1129cf00cd76444a77ce8.tar.gz |
internationalization fixes
bugfixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1001 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_time.c')
-rw-r--r-- | plugins/check_time.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_time.c b/plugins/check_time.c index dae2dd5a..63d7ee25 100644 --- a/plugins/check_time.c +++ b/plugins/check_time.c @@ -241,11 +241,11 @@ process_arguments (int argc, char **argv) check_warning_time = TRUE; } else { - usage (_("Warning thresholds must be a positive integer\n")); + usage4 (_("Warning thresholds must be a positive integer")); } } else { - usage (_("Warning threshold must be a positive integer\n")); + usage4 (_("Warning threshold must be a positive integer")); } break; case 'c': /* critical-variance */ @@ -260,30 +260,30 @@ process_arguments (int argc, char **argv) check_critical_time = TRUE; } else { - usage (_("Critical thresholds must be a positive integer\n")); + usage4 (_("Critical thresholds must be a positive integer")); } } else { - usage (_("Critical threshold must be a positive integer\n")); + usage4 (_("Critical threshold must be a positive integer")); } break; case 'W': /* warning-connect */ if (!is_intnonneg (optarg)) - usage (_("Warning threshold must be a positive integer\n")); + usage4 (_("Warning threshold must be a positive integer")); else warning_time = atoi (optarg); check_warning_time = TRUE; break; case 'C': /* critical-connect */ if (!is_intnonneg (optarg)) - usage (_("Critical threshold must be a positive integer\n")); + usage4 (_("Critical threshold must be a positive integer")); else critical_time = atoi (optarg); check_critical_time = TRUE; break; case 'p': /* port */ if (!is_intnonneg (optarg)) - usage (_("Port must be a positive integer\n")); + usage4 (_("Port must be a positive integer")); else server_port = atoi (optarg); break; @@ -306,7 +306,7 @@ process_arguments (int argc, char **argv) server_address = argv[c]; } else { - usage (_("Hostname was not supplied\n")); + usage4 (_("Hostname was not supplied")); } } |