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);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to