[Crosstoolchain-logs] [device-tree-compiler] 64/198: dtc: srcpos_verror() should print to stderr

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:06:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.4.x
in repository device-tree-compiler.

commit 8dec4d86ad3f44ef5011f86394d8f3061a09237a
Author: Michael Ellerman <michael at ellerman.id.au>
Date:   Tue Oct 16 17:58:56 2012 +1100

    dtc: srcpos_verror() should print to stderr
    
    Errors should go to stderr.
    
    Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
    Acked-by: David Gibson <david at gibson.dropbear.id.au>
---
 srcpos.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpos.c b/srcpos.c
index 246ab4b..c20bc53 100644
--- a/srcpos.c
+++ b/srcpos.c
@@ -297,9 +297,9 @@ srcpos_verror(struct srcpos *pos, char const *fmt, va_list va)
 
        srcstr = srcpos_string(pos);
 
-       fprintf(stdout, "Error: %s ", srcstr);
-       vfprintf(stdout, fmt, va);
-       fprintf(stdout, "\n");
+       fprintf(stderr, "Error: %s ", srcstr);
+       vfprintf(stderr, fmt, va);
+       fprintf(stderr, "\n");
 }
 
 void

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list