streamline_config.pl: show the full Kconfig name

Show the very same file name that was passed to open()
in case the operation failed.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
This commit is contained in:
Łukasz Stelmach 2021-11-25 17:20:54 +01:00 committed by Masahiro Yamada
parent c39afe6248
commit 0431acd87a
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ sub read_kconfig {
$source =~ s/\$\($env\)/$ENV{$env}/;
}
open(my $kinfile, '<', $source) || die "Can't open $kconfig";
open(my $kinfile, '<', $source) || die "Can't open $source";
while (<$kinfile>) {
chomp;