add missing line breaks in debug output

This commit is contained in:
Marcus Overhagen 2012-09-14 18:42:00 +02:00
parent 0d73f6ec8a
commit a63b046e90
2 changed files with 5 additions and 5 deletions

View File

@ -186,12 +186,12 @@ AHCIController::Init()
if (fPortImplementedMask & (1 << i)) {
fPort[i] = new (std::nothrow)AHCIPort(this, i);
if (!fPort[i]) {
TRACE("out of memory creating port %d", i);
TRACE("out of memory creating port %d\n", i);
break;
}
status_t status = fPort[i]->Init1();
if (status < B_OK) {
TRACE("init-1 port %d failed", i);
TRACE("init-1 port %d failed\n", i);
delete fPort[i];
fPort[i] = NULL;
}
@ -212,7 +212,7 @@ AHCIController::Init()
if (fPort[i]) {
status_t status = fPort[i]->Init2();
if (status < B_OK) {
TRACE("init-2 port %d failed", i);
TRACE("init-2 port %d failed\n", i);
fPort[i]->Uninit();
delete fPort[i];
fPort[i] = NULL;

View File

@ -398,12 +398,12 @@ AHCIPort::InterruptErrorHandler(uint32 is)
TRACE("Interface Non Fatal Error\n");
}
if (is & PORT_INT_OF) {
TRACE("Overflow");
TRACE("Overflow\n");
fResetPort = true;
fError = true;
}
if (is & PORT_INT_IPM) {
TRACE("Incorrect Port Multiplier Status");
TRACE("Incorrect Port Multiplier Status\n");
}
if (is & PORT_INT_PRC) {
TRACE("PhyReady Change\n");