kconfig.pl: throw warnings into stderr instead of stdout
[openwrt-10.03/.git] / scripts / kconfig.pl
index 181b35ad47271b6f90c4af27d39e181941eeae05..d22af9fe62b352dca052b89c3312462f0ffb47b9 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;
 }