Missed the second argument of fdrop().

Submitted by:	jhay
This commit is contained in:
Brian Feldman 1999-10-14 10:50:06 +00:00
parent 616842b791
commit d817743797
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52234

View file

@ -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);