aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_real.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-04 12:12:30 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-04 12:12:30 +0000
commit81bee45f6e562ffc30e1129cf00cd76444a77ce8 (patch)
tree8189c3c068bdec1f6ea8e3ca150f7ac71655d7f8 /plugins/check_real.c
parent7e2e599660083e1ce6de6d9230e456d9a4e3772d (diff)
downloadmonitoring-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_real.c')
-rw-r--r--plugins/check_real.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 492848c7..30424656 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -312,7 +312,7 @@ process_arguments (int argc, char **argv)
server_port = atoi (optarg);
}
else {
- usage (_("Port must be a positive integer\n"));
+ usage4 (_("Port must be a positive integer"));
}
break;
case 'w': /* warning time threshold */
@@ -321,7 +321,7 @@ process_arguments (int argc, char **argv)
check_warning_time = TRUE;
}
else {
- usage (_("Warning time must be a positive integer\n"));
+ usage4 (_("Warning time must be a positive integer"));
}
break;
case 'c': /* critical time threshold */
@@ -330,7 +330,7 @@ process_arguments (int argc, char **argv)
check_critical_time = TRUE;
}
else {
- usage (_("Critical time must be a nonnegative integer\n"));
+ usage4 (_("Critical time must be a nonnegative integer"));
}
break;
case 'v': /* verbose */
@@ -341,7 +341,7 @@ process_arguments (int argc, char **argv)
socket_timeout = atoi (optarg);
}
else {
- usage (_("Time interval must be a nonnegative integer\n"));
+ usage4 (_("Time interval must be a nonnegative integer"));
}
break;
case 'V': /* version */