Turned two dprintf()s into the TRACE() macro, as their messages are not really that important.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12345 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -520,7 +520,7 @@ close_port(port_id id)
|
|||||||
if (sPorts[slot].id != id) {
|
if (sPorts[slot].id != id) {
|
||||||
RELEASE_PORT_LOCK(sPorts[slot]);
|
RELEASE_PORT_LOCK(sPorts[slot]);
|
||||||
restore_interrupts(state);
|
restore_interrupts(state);
|
||||||
dprintf("close_port: invalid port_id %ld\n", id);
|
TRACE(("close_port: invalid port_id %ld\n", id));
|
||||||
return B_BAD_PORT_ID;
|
return B_BAD_PORT_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -890,7 +890,7 @@ read_port_etc(port_id id, int32 *_msgCode, void *msgBuffer, size_t bufferSize,
|
|||||||
if (sPorts[slot].id != id) {
|
if (sPorts[slot].id != id) {
|
||||||
RELEASE_PORT_LOCK(sPorts[slot]);
|
RELEASE_PORT_LOCK(sPorts[slot]);
|
||||||
restore_interrupts(state);
|
restore_interrupts(state);
|
||||||
dprintf("read_port_etc: invalid port_id %ld\n", id);
|
TRACE(("read_port_etc: invalid port_id %ld\n", id));
|
||||||
return B_BAD_PORT_ID;
|
return B_BAD_PORT_ID;
|
||||||
}
|
}
|
||||||
// store sem_id in local variable
|
// store sem_id in local variable
|
||||||
|
|||||||
Reference in New Issue
Block a user