send warnings to stdout instead of stderr
authorFabian Groffen <grobian@gentoo.org>
Fri, 12 Oct 2007 14:13:41 +0000 (14:13 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 12 Oct 2007 14:13:41 +0000 (14:13 -0000)
svn path=/main/branches/prefix/; revision=8085

src/chpathtool.c

index 637278274dd3c05d795b014af8fc5b2e5d65691e..e36a843fed09f1b3490e71f44413aea4af30fde4 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright Gentoo Foundation 2006-2007
  * Author: Fabian Groffen <grobian@gentoo.org>
- * $Id: $
+ * $Id$
  *
  * chpathtool replaces a given string (magic) into another (value),
  * thereby paying attention to the original size of magic in order not
@@ -169,7 +169,7 @@ int main(int argc, char **argv) {
        fclose(fin);
 
        if (padding != 0) {
-               fprintf(stderr, "warning: couldn't find a location to write "
+               fprintf(stdout, "warning: couldn't find a location to write "
                                "%zd padding bytes\n", padding);
        }