summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/delete/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/delete/main.c')
-rw-r--r--usr.sbin/pkg_install/delete/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/delete/main.c b/usr.sbin/pkg_install/delete/main.c
index 6c889f9e44e..911f8ab936d 100644
--- a/usr.sbin/pkg_install/delete/main.c
+++ b/usr.sbin/pkg_install/delete/main.c
@@ -1,8 +1,8 @@
-/* $OpenBSD: main.c,v 1.7 1998/09/07 22:30:15 marc Exp $ */
+/* $OpenBSD: main.c,v 1.8 2001/04/08 16:45:47 espie Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-static char *rcsid = "$OpenBSD: main.c,v 1.7 1998/09/07 22:30:15 marc Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.8 2001/04/08 16:45:47 espie Exp $";
#endif
/*
@@ -89,13 +89,13 @@ main(int argc, char **argv)
/* If no packages, yelp */
if (pkgs == start)
- warnx("missing package name(s)"), usage();
+ pwarnx("missing package name(s)"), usage();
*pkgs = NULL;
if (!Fake && getuid() != 0)
errx(1, "you must be root to delete packages");
if ((error = pkg_perform(start)) != 0) {
if (Verbose)
- warnx("%d package deletion(s) failed", error);
+ pwarnx("%d package deletion(s) failed", error);
return error;
}
else