diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl index b91cdf397a..45c565e7a9 100755 --- a/scripts/kconfig.pl +++ b/scripts/kconfig.pl @@ -29,7 +29,7 @@ sub load_config($$) { my $mod_plus = shift; my %config; - open FILE, "$file" or die "can't open file"; + open FILE, "$file" or die "can't open file '$file'"; while () { chomp; /^$PREFIX(.+?)=(.+)/ and do {