Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 16:09:13 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235276 - head/usr.sbin/pkg_install/lib
Message-ID:  <201205111609.q4BG9Dbf090695@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205111609.q4BG9Dbf090695>