From 8e187dfefef1397b1f87a1008e162e46a74f4782 Mon Sep 17 00:00:00 2001 From: abrist Date: Fri, 24 Jan 2014 14:04:37 -0500 Subject: Added check_hpjd port option to news and clarified the port usage error. --- NEWS | 4 ++++ plugins/check_hpjd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f2898aba..d48e1d8a 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,9 @@ This file documents the major additions and syntax changes between releases. +2.1 + ENHANCEMENTS + New check_hpjd -p option for port specification (abrist) + 2.0 11th July 2014 ENHANCEMENTS check_mailq now supports auto detection of qmail, postfix, exim and nullmailer with 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; -- cgit v1.2.3-74-g34f1