* Don't return B_OK from Start() if opening the device failed. Then Stop()

won't be called, the control thread will remove the device anyways.
* Turned off the debug output I left on accidentally in KeyboardInputDevice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28642 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-11-13 22:14:40 +00:00
parent b419343e89
commit 9195fe6efe
3 changed files with 5 additions and 4 deletions
@@ -210,7 +210,7 @@ MouseDevice::Start()
return status;
}
return B_OK;
return fDevice >= 0 ? B_OK : B_ERROR;
}