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

SourceForge.net noreply at sourceforge.net
Fri Jan 4 23:32:45 CET 2008


Bugs item #1862218, was opened at 2008-01-02 15:49
Message generated for change (Comment added) made by psychotrahe
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ferenc Wágner (wferi)
>Assigned to: Matthias Eble (psychotrahe)
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.

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

>Comment By: Matthias Eble (psychotrahe)
Date: 2008-01-04 23:32

Message:
Logged In: YES 
user_id=1694341
Originator: NO

Hi Ferenc,

thanks for your report, this is fixed in svn, now.

Matthias

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

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