Fixed build with tracing enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26772 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -498,8 +498,8 @@ deselect_select_infos(file_descriptor* descriptor, select_info* infos)
|
|||||||
status_t
|
status_t
|
||||||
select_fd(int32 fd, struct select_info* info, bool kernel)
|
select_fd(int32 fd, struct select_info* info, bool kernel)
|
||||||
{
|
{
|
||||||
TRACE(("select_fd(fd = %d, info = %p (%p), 0x%x)\n", fd, info,
|
TRACE(("select_fd(fd = %ld, info = %p (%p), 0x%x)\n", fd, info,
|
||||||
info->sync, info.selected_events));
|
info->sync, info->selected_events));
|
||||||
|
|
||||||
FDGetter fdGetter;
|
FDGetter fdGetter;
|
||||||
// define before the context locker, so it will be destroyed after it
|
// define before the context locker, so it will be destroyed after it
|
||||||
@@ -577,8 +577,8 @@ select_fd(int32 fd, struct select_info* info, bool kernel)
|
|||||||
status_t
|
status_t
|
||||||
deselect_fd(int32 fd, struct select_info* info, bool kernel)
|
deselect_fd(int32 fd, struct select_info* info, bool kernel)
|
||||||
{
|
{
|
||||||
TRACE(("deselect_fd(fd = %d, info = %p (%p), 0x%x)\n", fd, info,
|
TRACE(("deselect_fd(fd = %ld, info = %p (%p), 0x%x)\n", fd, info,
|
||||||
info->sync, info.selected_events));
|
info->sync, info->selected_events));
|
||||||
|
|
||||||
if (info->selected_events == 0)
|
if (info->selected_events == 0)
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user