diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2012-10-16 17:58:56 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2012-10-16 09:35:05 -0500 |
commit | 8dec4d86ad3f44ef5011f86394d8f3061a09237a (patch) | |
tree | 28fa686847ba0c9d17248d824c3e39de399a66cd | |
parent | 1762ab42ef77db7ab2776d0d6cba3515150f518a (diff) | |
download | device-tree-compiler-8dec4d86ad3f44ef5011f86394d8f3061a09237a.tar.gz |
dtc: srcpos_verror() should print to stderr
Errors should go to stderr.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | srcpos.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |