add missing line breaks in debug output

This commit is contained in:
Marcus Overhagen
2012-09-14 18:58:58 +02:00
parent 0d73f6ec8a
commit a63b046e90
2 changed files with 5 additions and 5 deletions
@@ -186,12 +186,12 @@ AHCIController::Init()
if (fPortImplementedMask & (1 << i)) { if (fPortImplementedMask & (1 << i)) {
fPort[i] = new (std::nothrow)AHCIPort(this, i); fPort[i] = new (std::nothrow)AHCIPort(this, i);
if (!fPort[i]) { if (!fPort[i]) {
TRACE("out of memory creating port %d", i); TRACE("out of memory creating port %d\n", i);
break; break;
} }
status_t status = fPort[i]->Init1(); status_t status = fPort[i]->Init1();
if (status < B_OK) { if (status < B_OK) {
TRACE("init-1 port %d failed", i); TRACE("init-1 port %d failed\n", i);
delete fPort[i]; delete fPort[i];
fPort[i] = NULL; fPort[i] = NULL;
} }
@@ -212,7 +212,7 @@ AHCIController::Init()
if (fPort[i]) { if (fPort[i]) {
status_t status = fPort[i]->Init2(); status_t status = fPort[i]->Init2();
if (status < B_OK) { if (status < B_OK) {
TRACE("init-2 port %d failed", i); TRACE("init-2 port %d failed\n", i);
fPort[i]->Uninit(); fPort[i]->Uninit();
delete fPort[i]; delete fPort[i];
fPort[i] = NULL; fPort[i] = NULL;
@@ -398,12 +398,12 @@ AHCIPort::InterruptErrorHandler(uint32 is)
TRACE("Interface Non Fatal Error\n"); TRACE("Interface Non Fatal Error\n");
} }
if (is & PORT_INT_OF) { if (is & PORT_INT_OF) {
TRACE("Overflow"); TRACE("Overflow\n");
fResetPort = true; fResetPort = true;
fError = true; fError = true;
} }
if (is & PORT_INT_IPM) { if (is & PORT_INT_IPM) {
TRACE("Incorrect Port Multiplier Status"); TRACE("Incorrect Port Multiplier Status\n");
} }
if (is & PORT_INT_PRC) { if (is & PORT_INT_PRC) {
TRACE("PhyReady Change\n"); TRACE("PhyReady Change\n");