summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-07 04:18:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-07 04:18:46 +0000
commit888428f17dc786334b6dac488dfe00829a8f03fc (patch)
tree94ff5dbe60d742ad5ebd804e593229238e787c81
parent9230450da733daf4720c63a1ba94f4d86c580c52 (diff)
even cleaner
-rw-r--r--usr.sbin/pkg_install/add/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/add/main.c b/usr.sbin/pkg_install/add/main.c
index dcb4f6536a0..f07752ebab3 100644
--- a/usr.sbin/pkg_install/add/main.c
+++ b/usr.sbin/pkg_install/add/main.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: main.c,v 1.6 1998/04/07 04:17:47 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.7 1998/04/07 04:18:45 deraadt Exp $ */
#ifndef lint
-static char *rcsid = "$OpenBSD: main.c,v 1.6 1998/04/07 04:17:47 deraadt Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.7 1998/04/07 04:18:45 deraadt Exp $";
#endif
/*
@@ -132,7 +132,7 @@ main(int argc, char **argv)
}
/* If no packages, yelp */
if (!ch)
- usage(prog_name, "Missing package name(s)");
+ usage(prog_name, NULL);
else if (ch > 1 && AddMode == MASTER)
usage(prog_name,
"Only one package name may be specified with master mode");