kconfig.pl: throw warnings into stderr instead of stdout
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Mar 2009 15:05:32 +0000 (15:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Mar 2009 15:05:32 +0000 (15:05 +0000)
SVN-Revision: 14807

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