kconfig.pl: throw warnings into stderr instead of stdout
[openwrt/svn-archive/archive.git] / scripts / kconfig.pl
index 181b35a..d22af9f 100755 (executable)
@@ -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;
 }