From 5ad287fa888bb8f19d17a7770506c65cd88f366d Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 5 Nov 2013 14:07:30 +0000 Subject: [PATCH] When writing DTS to a file, don't write some of it to stderr. Reported by: ray --- usr.bin/dtc/fdt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/dtc/fdt.cc b/usr.bin/dtc/fdt.cc index eb944fca2cc..7810c0d3c7a 100644 --- a/usr.bin/dtc/fdt.cc +++ b/usr.bin/dtc/fdt.cc @@ -1190,7 +1190,7 @@ device_tree::write_dts(int fd) for (std::vector::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); } -- 2.45.2