outputs actual error in stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14342 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
276ac902b7
commit
b67b9d8c87
@ -190,8 +190,10 @@ MediaAddonServer::ReadyToRun()
|
||||
// register it with the server, and make it the default SYSTEM_TIME_SOURCE
|
||||
BMediaNode *ts = new SystemTimeSource;
|
||||
status_t result = mediaroster->RegisterNode(ts);
|
||||
if (result != B_OK)
|
||||
if (result != B_OK) {
|
||||
fprintf(stderr, "Can't register system time source : %s\n", strerror(result));
|
||||
debugger("Can't register system time source");
|
||||
}
|
||||
if (ts->ID() != NODE_SYSTEM_TIMESOURCE_ID)
|
||||
debugger("System time source got wrong node ID");
|
||||
media_node node = ts->Node();
|
||||
|
Loading…
Reference in New Issue
Block a user