fix typo, there's uap, just fd
This commit is contained in:
parent
77c99f362a
commit
8868a7d8a2
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user