print errors when starting devices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27308 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
04e088c3a9
commit
c08e99ef40
@ -80,7 +80,10 @@ void
|
||||
InputDeviceListItem::Start()
|
||||
{
|
||||
PRINT((" Starting: %s\n", fDevice.name));
|
||||
fServerDevice->Start(fDevice.name, fDevice.cookie);
|
||||
status_t err = fServerDevice->Start(fDevice.name, fDevice.cookie);
|
||||
if (err != B_OK) {
|
||||
PRINTERR((" error: %s (%lx)\n", strerror(err), err));
|
||||
}
|
||||
fRunning = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user