summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2021-11-25 19:20:54 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-12-02 11:02:36 +0300
commit0431acd87a6c1785e47eb9762904d964f7a031e9 (patch)
treee6309bed17ccf90ede9f7dc78ba2c2a70f6e5801 /scripts/kconfig
parentc39afe624853e39af243dd9832640bf9c80b6554 (diff)
downloadlinux-0431acd87a6c1785e47eb9762904d964f7a031e9.tar.xz
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/kconfig')
-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;