Don't spam for expected error returns. We do repeat key handling through
timeouts, so B_TIMED_OUT is expected at this point. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31974 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
57a25014b0
commit
0fa107fd5d
@ -334,7 +334,11 @@ KeyboardDevice::_ReadReport(bigtime_t timeout)
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
TRACE_ALWAYS("error waiting for report: %s\n", strerror(result));
|
||||
if (result != B_TIMED_OUT) {
|
||||
// we expect timeouts as we do repeat key handling this way
|
||||
TRACE_ALWAYS("error waiting for report: %s\n", strerror(result));
|
||||
}
|
||||
|
||||
// signal that we simply want to try again
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user