When writing DTS to a file, don't write some of it to stderr.

Reported by:	ray
This commit is contained in:
David Chisnall 2013-11-05 14:07:30 +00:00
parent 5cd2b97cd0
commit 5ad287fa88

View File

@ -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);
}