Explorar el Código

scripts/kconfig.pl: Indicate which file we couldn't open

Signed-off-by: Daniel Colascione <[email protected]>

SVN-Revision: 39327
John Crispin hace 12 años
padre
commit
2f5f498969
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/kconfig.pl

+ 1 - 1
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 (<FILE>) {
 		chomp;
 		/^$PREFIX(.+?)=(.+)/ and do {