[Nagiosplug-checkins] nagiosplug/plugins utils.c,1.45,1.46
Ton Voon
tonvoon at users.sourceforge.net
Thu Apr 6 03:10:00 CEST 2006
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21610/plugins
Modified Files:
utils.c
Log Message:
Stop coredump on Solaris if arg not specified (Jason Kau - 1465288)
Index: utils.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/utils.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- utils.c 29 Mar 2006 16:33:36 -0000 1.45
+++ utils.c 6 Apr 2006 10:08:57 -0000 1.46
@@ -71,7 +71,7 @@
void usage2(const char *msg, const char *arg)
{
- printf ("%s: %s - %s\n",progname,msg,arg);
+ printf ("%s: %s - %s\n", progname, msg, arg?arg:"(null)" );
print_usage ();
exit (STATE_UNKNOWN);
}
More information about the Commits
mailing list