kconfig.pl: throw warnings into stderr instead of stdout
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:05:32 +0000 (15:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:05:32 +0000 (15:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14807 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
 }