Use FDDUP_NORMAL instead of hardcoding value 0.
Proposed by: mjg
This commit is contained in:
parent
329d1bca7f
commit
a4001f4cb9
@ -76,7 +76,7 @@ int
|
||||
cloudabi_sys_fd_dup(struct thread *td, struct cloudabi_sys_fd_dup_args *uap)
|
||||
{
|
||||
|
||||
return (kern_dup(td, 0, 0, uap->from, 0));
|
||||
return (kern_dup(td, FDDUP_NORMAL, 0, uap->from, 0));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user