This fixes the bfs_shell build under Linux: replaced B_OK with FS_OK in

tracker.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12552 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-05-03 02:34:32 +00:00
parent 895e2a0375
commit 367861b645

View File

@ -48,14 +48,14 @@ tracker_loop(void *data)
// create global messaging port // create global messaging port
gTrackerPort = create_port(128, "fsh tracker port"); gTrackerPort = create_port(128, "fsh tracker port");
if (gTrackerPort < B_OK) if (gTrackerPort < FS_OK)
return gTrackerPort; return gTrackerPort;
while (true) { while (true) {
update_message message; update_message message;
int32 code; int32 code;
status_t status = read_port(gTrackerPort, &code, &message, sizeof(message)); status_t status = read_port(gTrackerPort, &code, &message, sizeof(message));
if (status < B_OK) if (status < FS_OK)
continue; continue;
if (code == FSH_KILL_TRACKER) if (code == FSH_KILL_TRACKER)
@ -74,5 +74,5 @@ tracker_loop(void *data)
} }
delete_port(gTrackerPort); delete_port(gTrackerPort);
return B_OK; return FS_OK;
} }