Explorar el Código

kconfig.pl: throw warnings into stderr instead of stdout

SVN-Revision: 14807
Felix Fietkau hace 16 años
padre
commit
7f4bc03adb
Se han modificado 1 ficheros con 1 adiciones y 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;
 }