summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
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 09:02:36 +0100
commit0431acd87a6c1785e47eb9762904d964f7a031e9 (patch)
treee6309bed17ccf90ede9f7dc78ba2c2a70f6e5801 /scripts/kconfig
parentkconfig: Add `make mod2noconfig` to disable module options (diff)
downloadlinux-0431acd87a6c1785e47eb9762904d964f7a031e9.tar.xz
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/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;