svn commit: r257703 - head/usr.bin/dtc

David Chisnall theraven at FreeBSD.org
Tue Nov 5 14:07:31 UTC 2013


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


More information about the svn-src-all mailing list