diff options
-rw-r--r-- | sys/compat/svr4/svr4_fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_fcntl.c b/sys/compat/svr4/svr4_fcntl.c index 43a571f..f444c4b 100644 --- a/sys/compat/svr4/svr4_fcntl.c +++ b/sys/compat/svr4/svr4_fcntl.c @@ -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) { |