commit: 61ac8ae9168b7262a6f68a07da312659181647a0 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Aug 2 07:37:51 2020 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Aug 2 07:37:51 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=61ac8ae9
read_portage_profile: adapt warning to point to which profile When we fail to resolve a repo match, give the user a better hint by pointing to the profile we were reading. Bug: https://bugs.gentoo.org/735134 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index d2a452c..c8b0429 100644 --- a/main.c +++ b/main.c @@ -563,7 +563,8 @@ read_portage_profile(const char *profile, env_vars vars[], set *masks) repo_name = NULL; } if (repo_name == NULL) { - warn("ignoring parent with unknown repo in profile: %s", s); + warn("ignoring parent with unknown repo in profile %s: %s", + profile, s); continue; } } else {
