mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 13:15:05 +00:00
Missed the second argument of fdrop().
Submitted by: jhay
This commit is contained in:
parent
616842b791
commit
d817743797
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52234
|
@ -465,7 +465,7 @@ writev(p, uap)
|
|||
#endif
|
||||
p->p_retval[0] = cnt;
|
||||
done:
|
||||
fdrop(fp);
|
||||
fdrop(fp, p);
|
||||
if (needfree)
|
||||
FREE(needfree, M_IOV);
|
||||
return (error);
|
||||
|
|
Loading…
Reference in a new issue