浏览代码

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

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

SVN-Revision: 39327
John Crispin 11 年之前
父节点
当前提交
2f5f498969
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {