Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 14:07:31 +0000 (UTC)
From:      David Chisnall <theraven@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257703 - head/usr.bin/dtc
Message-ID:  <201311051407.rA5E7Vmh092229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: theraven
Date: Tue Nov  5 14:07:30 2013
New Revision: 257703
URL: http://svnweb.freebsd.org/changeset/base/257703

Log:
  When writing DTS to a file, don't write some of it to stderr.
  
  Reported by:	ray

Modified:
  head/usr.bin/dtc/fdt.cc

Modified: head/usr.bin/dtc/fdt.cc
==============================================================================
--- head/usr.bin/dtc/fdt.cc	Tue Nov  5 13:48:34 2013	(r257702)
+++ head/usr.bin/dtc/fdt.cc	Tue Nov  5 14:07:30 2013	(r257703)
@@ -1190,7 +1190,7 @@ device_tree::write_dts(int fd)
 		for (std::vector<reservation>::iterator i=reservations.begin(),
 		     e=reservations.end() ; i!=e ; ++i)
 		{
-			fprintf(stderr, " %" PRIx64 " %" PRIx64, i->first, i->second);
+			fprintf(file, " %" PRIx64 " %" PRIx64, i->first, i->second);
 		}
 		fputs(";\n\n", file);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311051407.rA5E7Vmh092229>