瀏覽代碼

kconfig.pl: throw warnings into stderr instead of stdout

SVN-Revision: 14807
Felix Fietkau 16 年之前
父節點
當前提交
7f4bc03adb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/kconfig.pl

+ 1 - 1
scripts/kconfig.pl

@@ -27,7 +27,7 @@ sub load_config($) {
 			next;
 		};
 		/^#/ and next;
-		/^(.+)$/ and print "WARNING: can't parse line: $1\n";
+		/^(.+)$/ and warn "WARNING: can't parse line: $1\n";
 	}
 	return \%config;
 }