fix typo, there's uap, just fd

This commit is contained in:
Alfred Perlstein 2002-01-16 01:31:19 +00:00
parent 77c99f362a
commit 8868a7d8a2

View File

@ -295,7 +295,7 @@ fd_truncate(td, fd, flp)
/*
* We only support truncating the file.
*/
if ((error = fgetvp(td, uap->fd, &vp)) != 0)
if ((error = fgetvp(td, fd, &vp)) != 0)
return (error);
if (vp->v_type == VFIFO) {