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