added error information
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13118 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -26,11 +26,13 @@ AddOnMonitor::AddOnMonitor(AddOnMonitorHandler * handler)
|
|||||||
status = fPulseRunner->InitCheck();
|
status = fPulseRunner->InitCheck();
|
||||||
if (status != B_OK) {
|
if (status != B_OK) {
|
||||||
fInitCheck = status;
|
fInitCheck = status;
|
||||||
|
fprintf(stderr, "AddOnMonitor() : bad status returned by fPulseRunner->InitCheck()\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
thread_id id = Run();
|
thread_id id = Run();
|
||||||
if (id < 0) {
|
if (id < 0) {
|
||||||
fInitCheck = (status_t)id;
|
fInitCheck = (status_t)id;
|
||||||
|
fprintf(stderr, "AddOnMonitor() : bad id returned by Run()\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fInitCheck = B_OK;
|
fInitCheck = B_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user