Explorar o código

kconfig.pl: throw warnings into stderr instead of stdout

SVN-Revision: 14807
Felix Fietkau %!s(int64=17) %!d(string=hai) anos
pai
achega
7f4bc03adb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }