[Nagiosplug-devel] [ nagiosplug-Bugs-1862218 ] check_procs: usage2 does not expect a format string

SourceForge.net noreply at sourceforge.net
Wed Jan 2 15:49:16 CET 2008


Bugs item #1862218, was opened at 2008-01-02 15:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1862218&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: CVS
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ferenc Wágner (wferi)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_procs: usage2 does not expect a format string

Initial Comment:
Hi,

See the following error message:

$ /usr/lib/nagios/plugins/check_procs -u nosuchuser
check_procs: User name %s was not found - nosuchuser
Usage:check_procs [...]

1. The '%s' in the error message is superfluous.  In CVS, it's at check_procs.c:426, with a similar buglet on line 420.  The fix looks dead easy: remove '%s ' from those two lines.

2. On the next line, 'Usage:' should be followed by a space (CVS line 753).  Just to make the output prettier.

Regards,
Feri.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1862218&group_id=29880




More information about the Devel mailing list