summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-02-26 16:13:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-02-26 16:13:32 +0000
commit929d28a362d0def11b035810245b15d0017bf620 (patch)
tree5339c5a1d9345a742ee9d4312566b6abc11f9b49 /usr.sbin/pkg_install/create
parent739f9327fec040ddd56fdfb20ebd3e3ac01bf49c (diff)
You've been warned: turn too long package comments into errors.
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r--usr.sbin/pkg_install/create/perform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 825503c9512..6f6c94c2282 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: perform.c,v 1.7 1998/11/19 04:12:55 espie Exp $ */
+/* $OpenBSD: perform.c,v 1.8 1999/02/26 16:13:31 espie Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: perform.c,v 1.7 1998/11/19 04:12:55 espie Exp $";
+static const char *rcsid = "$OpenBSD: perform.c,v 1.8 1999/02/26 16:13:31 espie Exp $";
#endif
/*
@@ -53,7 +53,7 @@ pkg_perform(char **pkgs)
printf("Creating package %s\n", pkg);
get_dash_string(&Comment);
if (strlen(Comment) > MAXINDEXSIZE && !PlistOnly) {
- warnx("Comment string is over %d characters long:\n%s",
+ errx(2,"Comment string is over %d characters long:\n%s",
MAXINDEXSIZE, Comment);
}
get_dash_string(&Desc);