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 New Issue
Block a user