aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-11-05 14:07:30 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-11-05 14:07:30 +0000
commit5ad287fa888bb8f19d17a7770506c65cd88f366d (patch)
tree085e73990e592dd7b4ab31c36ce4bce2835d9def /usr.bin
parent5cd2b97cd05fd7e64e6ba1db0c150accddf4ddd3 (diff)
downloadsrc-5ad287fa888bb8f19d17a7770506c65cd88f366d.tar.gz
src-5ad287fa888bb8f19d17a7770506c65cd88f366d.zip
When writing DTS to a file, don't write some of it to stderr.
Reported by: ray
Notes
Notes: svn path=/head/; revision=257703
Diffstat (limited to 'usr.bin')
-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 eb944fca2cc6..7810c0d3c7a7 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);
}