aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS.in1
-rw-r--r--plugins/utils.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index 3fb69c86..71d272f9 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -180,3 +180,4 @@ Johan Fischer
Sakari Lehtonen
John Rouillard
Sebastian Wiesinger
+Jason Kau
diff --git a/plugins/utils.c b/plugins/utils.c
index a5245c67..bb4ffbc2 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -71,7 +71,7 @@ void usage_va (const char *fmt, ...)
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);
}