>Number: 164378 >Category: misc >Synopsis: [patch] improvement of pkg_info warning >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 22 19:00:19 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 9.0 >Organization: n/a >Environment: >Description: This patch adds package name to the pkg_info warning "corrupted record (pkgdep line without argument)" >How-To-Repeat:
>Fix: Patch attached with submission follows: --- usr.sbin/pkg_install/lib/plist.c.orig 2012-01-22 10:34:23.000000000 -0800 +++ usr.sbin/pkg_install/lib/plist.c 2012-01-22 10:50:32.000000000 -0800 @@ -286,7 +286,8 @@ if (*cp == '\0') { cp = NULL; if (cmd == PLIST_PKGDEP) { - warnx("corrupted record (pkgdep line without argument), ignoring"); + warnx("corrupted record for package %s (pkgdep line without argument), ignoring", + pkg->name); cmd = FAIL; } goto bottom; >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"