Date: Sat, 11 Jul 2015 18:53:31 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285400 - head/sys/compat/cloudabi Message-ID: <201507111853.t6BIrVM8048412@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sat Jul 11 18:53:30 2015 New Revision: 285400 URL: https://svnweb.freebsd.org/changeset/base/285400 Log: Use FDDUP_NORMAL instead of hardcoding value 0. Proposed by: mjg Modified: head/sys/compat/cloudabi/cloudabi_fd.c Modified: head/sys/compat/cloudabi/cloudabi_fd.c ============================================================================== --- head/sys/compat/cloudabi/cloudabi_fd.c Sat Jul 11 18:39:16 2015 (r285399) +++ head/sys/compat/cloudabi/cloudabi_fd.c Sat Jul 11 18:53:30 2015 (r285400) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507111853.t6BIrVM8048412>