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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to