From: Łukasz Stelmach Date: Thu, 25 Nov 2021 16:20:54 +0000 (+0100) Subject: streamline_config.pl: show the full Kconfig name X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0431acd87a6c1785e47eb9762904d964f7a031e9;p=linux.git 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 --- diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 1a5fea0519eb4..3387ad7508f79 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;