diff options
author | alfred <alfred@FreeBSD.org> | 2002-01-19 03:52:17 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-01-19 03:52:17 +0000 |
commit | ed9e04f0686e8b7940c1a351f582fdc82c9f4091 (patch) | |
tree | 1cb1749eeebbbb069f3c49e320cdf4ad5592518d /sys/compat | |
parent | 832c019c2c9fa3ee2fd5eb3d8ab692546a8b051f (diff) | |
download | FreeBSD-src-ed9e04f0686e8b7940c1a351f582fdc82c9f4091.zip FreeBSD-src-ed9e04f0686e8b7940c1a351f582fdc82c9f4091.tar.gz |
Make compile, remove extra fdrop() calls.
Change name of function to what it's supposed to be (s/sys/do)
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/svr4/svr4_stream.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index c0f7134..7b2d810 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -239,7 +239,6 @@ bad: if (to) FREE(to, M_SONAME); done1: - fdrop(fp, td); fputsock(so); return (error); } @@ -364,7 +363,6 @@ out: if (control) m_freem(control); done1: - fdrop(fp, td); fputsock(so); return (error); } @@ -1916,7 +1914,7 @@ svr4_sys_getmsg(td, uap) } int -svr4_sys_getmsg(td, uap) +svr4_do_getmsg(td, uap, fp) register struct thread *td; struct svr4_sys_getmsg_args *uap; struct file *fp; |