diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c --- a/sys/fs/cuse/cuse.c +++ b/sys/fs/cuse/cuse.c @@ -822,7 +822,7 @@ static int cuse_server_ioctl_copy_locked(struct cuse_server *pcs, struct cuse_client_command *pccmd, - struct cuse_data_chunk *pchk, int isread) + struct cuse_data_chunk *pchk, bool isread) { struct proc *p_proc; uint32_t offset; @@ -850,7 +850,7 @@ cuse_server_unlock(pcs); - if (isread == 0) { + if (isread == false) { error = copyin( (void *)pchk->local_ptr, pccmd->client->ioctl_buffer + offset, @@ -929,7 +929,7 @@ static int cuse_server_data_copy_locked(struct cuse_server *pcs, struct cuse_client_command *pccmd, - struct cuse_data_chunk *pchk, int isread) + struct cuse_data_chunk *pchk, bool isread) { struct proc *p_proc; int error; @@ -945,7 +945,7 @@ cuse_server_unlock(pcs); - if (isread == 0) { + if (isread == false) { error = cuse_proc2proc_copy( curthread->td_proc, pchk->local_ptr, p_proc, pchk->peer_ptr,