aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorGravatar abrist <abrist@nagios.com> 2014-01-24 14:04:37 -0500
committerGravatar Jan Wagner <waja@cyconet.org> 2014-07-20 23:35:54 +0200
commit8e187dfefef1397b1f87a1008e162e46a74f4782 (patch)
tree6a81ae0915f02a9a0181da7832093991bb5a936e /plugins/check_hpjd.c
parent3c7d24478c7e79f288d4e79278168c3fe5b73a45 (diff)
downloadmonitoring-plugins-8e187dfefef1397b1f87a1008e162e46a74f4782.tar.gz
Added check_hpjd port option to news and clarified the port usage error.
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 1ee4d134..5fe06984 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -344,7 +344,7 @@ process_arguments (int argc, char **argv)
break;
case 'p':
if (!is_intpos(optarg))
- usage2 (_("Port must be a positive integer"), optarg);
+ usage2 (_("Port must be a positive short integer"), optarg);
else
port = atoi(optarg);
break;