summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 679576b)
raw | patch | inline | side by side (parent: 679576b)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 6 Apr 2006 10:08:57 +0000 (10:08 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 6 Apr 2006 10:08:57 +0000 (10:08 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1370 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/utils.c | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index 3fb69c8678c5cfd7a5e5c69b4e8570c7a7a40f2c..71d272f9191da37d621809e85e193dc292d0b64d 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Sakari Lehtonen
John Rouillard
Sebastian Wiesinger
+Jason Kau
diff --git a/plugins/utils.c b/plugins/utils.c
index a5245c67ae73fa34ea6eb41920d5052bb87df686..bb4ffbc22ff1920a138ea80f158bd7be04304689 100644 (file)
--- a/plugins/utils.c
+++ b/plugins/utils.c
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);
}