Make compile, remove extra fdrop() calls.
Change name of function to what it's supposed to be (s/sys/do)
This commit is contained in:
parent
7e9aab77c5
commit
441e1e6a49
@ -239,7 +239,6 @@ svr4_sendit(td, s, mp, flags)
|
||||
if (to)
|
||||
FREE(to, M_SONAME);
|
||||
done1:
|
||||
fdrop(fp, td);
|
||||
fputsock(so);
|
||||
return (error);
|
||||
}
|
||||
@ -364,7 +363,6 @@ svr4_recvit(td, s, mp, namelenp)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user