diff options
author | dchagin <dchagin@FreeBSD.org> | 2017-07-15 17:25:40 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2017-07-15 17:25:40 +0000 |
commit | a545f1297fedae466f8ea0c6a236e91435db757a (patch) | |
tree | 9888594856661417a2002dcaf4da83f9f6d90899 /sys/netinet | |
parent | 9c7407b4f56c32a32dd3424877d5ea1f8f3d9a0a (diff) | |
download | FreeBSD-src-a545f1297fedae466f8ea0c6a236e91435db757a.zip FreeBSD-src-a545f1297fedae466f8ea0c6a236e91435db757a.tar.gz |
MFC r281436 (by mjg@):
fd: remove filedesc argument from fdclose
Just accept a thread instead. This makes it consistent with fdalloc.
No functional changes.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_syscalls.c b/sys/netinet/sctp_syscalls.c index feba0c1..203f2c1 100644 --- a/sys/netinet/sctp_syscalls.c +++ b/sys/netinet/sctp_syscalls.c @@ -187,7 +187,7 @@ noconnection: * out from under us. */ if (error != 0) - fdclose(td->td_proc->p_fd, nfp, fd, td); + fdclose(td, nfp, fd); /* * Release explicitly held references before returning. |