summaryrefslogtreecommitdiffstats
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 3fb69c8..71d272f 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -180,3 +180,4 @@ Johan Fischer
180Sakari Lehtonen 180Sakari Lehtonen
181John Rouillard 181John Rouillard
182Sebastian Wiesinger 182Sebastian Wiesinger
183Jason Kau
diff --git a/plugins/utils.c b/plugins/utils.c
index a5245c6..bb4ffbc 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -71,7 +71,7 @@ void usage_va (const char *fmt, ...)
71 71
72void usage2(const char *msg, const char *arg) 72void usage2(const char *msg, const char *arg)
73{ 73{
74 printf ("%s: %s - %s\n",progname,msg,arg); 74 printf ("%s: %s - %s\n", progname, msg, arg?arg:"(null)" );
75 print_usage (); 75 print_usage ();
76 exit (STATE_UNKNOWN); 76 exit (STATE_UNKNOWN);
77} 77}