summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-11-05 14:07:30 +0000
committertheraven <theraven@FreeBSD.org>2013-11-05 14:07:30 +0000
commit9e5215dca295a6e622894d03eba98b9d0969f2c0 (patch)
tree085e73990e592dd7b4ab31c36ce4bce2835d9def /usr.bin/dtc
parentb72e9af55a32a9886ca2d4aaba3d75cd71cbc358 (diff)
downloadFreeBSD-src-9e5215dca295a6e622894d03eba98b9d0969f2c0.zip
FreeBSD-src-9e5215dca295a6e622894d03eba98b9d0969f2c0.tar.gz
When writing DTS to a file, don't write some of it to stderr.
Reported by: ray
Diffstat (limited to 'usr.bin/dtc')
-rw-r--r--usr.bin/dtc/fdt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dtc/fdt.cc b/usr.bin/dtc/fdt.cc
index eb944fc..7810c0d 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<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);
}
OpenPOWER on IntegriCloud