summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2021-11-25 17:20:54 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-12-02 17:02:36 +0900
commit0431acd87a6c1785e47eb9762904d964f7a031e9 (patch)
treee6309bed17ccf90ede9f7dc78ba2c2a70f6e5801 /scripts
parentc39afe624853e39af243dd9832640bf9c80b6554 (diff)
downloadlinux-0431acd87a6c1785e47eb9762904d964f7a031e9.tar.gz
linux-0431acd87a6c1785e47eb9762904d964f7a031e9.tar.bz2
linux-0431acd87a6c1785e47eb9762904d964f7a031e9.zip
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kconfig/streamline_config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 1a5fea0519eb..3387ad7508f7 100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -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;