Skip to content

Commit

Permalink
Merge pull request #48 from chaos4ever/feature/make-cluido-wait-for-v…
Browse files Browse the repository at this point in the history
…fs-to-be-available

Make cluido wait for VFS to be available
  • Loading branch information
perlun committed Aug 27, 2015
2 parents d1985f1 + dcc352b commit 25aedd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/file/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ return_type file_init(ipc_structure_type *vfs_structure, tag_type *tag)
mailbox_id_type mailbox_id[10];
unsigned int services = 10;

if (ipc_service_resolve("virtual_file_system", mailbox_id, &services, 0, tag) != IPC_RETURN_SUCCESS)
if (ipc_service_resolve("virtual_file_system", mailbox_id, &services, 5, tag) != IPC_RETURN_SUCCESS)
{
return FILE_RETURN_SERVICE_UNAVAILABLE;
}
Expand Down
3 changes: 1 addition & 2 deletions servers/system/boot/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ int main(void)
system_process_name_set(PACKAGE_NAME);
system_thread_name_set("Initialising");

if (log_init(&log_structure, PACKAGE_NAME, &empty_tag) !=
LOG_RETURN_SUCCESS)
if (log_init(&log_structure, PACKAGE_NAME, &empty_tag) != LOG_RETURN_SUCCESS)
{
return -1;
}
Expand Down

0 comments on commit 25aedd2

Please sign in to comment.