mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
- 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:
parent
1aaed33edb
commit
0a4c7ac6dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235276
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user