Use FDDUP_NORMAL instead of hardcoding value 0.

Proposed by:	mjg
This commit is contained in:
Ed Schouten 2015-07-11 18:53:30 +00:00
parent 329d1bca7f
commit a4001f4cb9

View File

@ -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