- 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
This commit is contained in:
Beat Gaetzi 2012-05-11 16:09:12 +00:00
parent 1aaed33edb
commit 0a4c7ac6dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235276

View File

@ -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;