svn commit: r235276 - head/usr.sbin/pkg_install/lib

Beat Gaetzi beat at FreeBSD.org
Fri May 11 16:09:13 UTC 2012


Author: beat (ports committer)
Date: Fri May 11 16:09:12 2012
New Revision: 235276
URL: http://svn.freebsd.org/changeset/base/235276

Log:
  - Print package name in case an empty pkgdep line is found.
  
  PR:		bin/164378
  Submitted by:	Yuri <yuri AT tsoft.com> and many others
  Approved by:	flz
  MFC after:	2 weeks

Modified:
  head/usr.sbin/pkg_install/lib/plist.c

Modified: head/usr.sbin/pkg_install/lib/plist.c
==============================================================================
--- head/usr.sbin/pkg_install/lib/plist.c	Fri May 11 16:08:51 2012	(r235275)
+++ head/usr.sbin/pkg_install/lib/plist.c	Fri May 11 16:09:12 2012	(r235276)
@@ -286,7 +286,8 @@ read_plist(Package *pkg, FILE *fp)
 	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;


More information about the svn-src-head mailing list