diff options
author | theraven <theraven@FreeBSD.org> | 2013-11-05 14:07:30 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-11-05 14:07:30 +0000 |
commit | 9e5215dca295a6e622894d03eba98b9d0969f2c0 (patch) | |
tree | 085e73990e592dd7b4ab31c36ce4bce2835d9def | |
parent | b72e9af55a32a9886ca2d4aaba3d75cd71cbc358 (diff) | |
download | FreeBSD-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
-rw-r--r-- | usr.bin/dtc/fdt.cc | 2 |
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); } |