Bug 646259: Some trivial formatting fixes to deadlock detector output. r=bsmedberg

This commit is contained in:
Chris Jones 2011-03-31 14:51:19 -05:00
parent cc8b4c9c6c
commit 63313bea5e

View File

@ -84,7 +84,7 @@ BlockingResourceBase::DeadlockDetectorEntry::Print(
out += mName;
if (maybeCurrentlyAcquired) {
fputs(" (currently acquired)", stderr);
fputs(" (currently acquired)\n", stderr);
out += " (currently acquired)\n";
}
@ -237,7 +237,7 @@ BlockingResourceBase::PrintCycle(const DDT::ResourceAcquisitionArray* aCycle,
const DDT::ResourceAcquisition* it = 1 + aCycle->Elements();
for (i = 1; i < len - 1; ++i, ++it) {
fputs("\n--- Next dependency:\n", stderr);
out += "Next dependency:\n";
out += "\nNext dependency:\n";
maybeImminent &= it->mResource->Print(*it, out);
}