Author: bapt
Date: Sat Jun  2 16:16:45 2012
New Revision: 236454
URL: http://svn.freebsd.org/changeset/base/236454

Log:
  RFC: 235276
  
  - 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:  des (mentor)

Modified:
  stable/8/usr.sbin/pkg_install/lib/plist.c
Directory Properties:
  stable/8/usr.sbin/pkg_install/   (props changed)

Modified: stable/8/usr.sbin/pkg_install/lib/plist.c
==============================================================================
--- stable/8/usr.sbin/pkg_install/lib/plist.c   Sat Jun  2 16:16:03 2012        
(r236453)
+++ stable/8/usr.sbin/pkg_install/lib/plist.c   Sat Jun  2 16:16:45 2012        
(r236454)
@@ -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-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to