summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-01-16 01:31:19 +0000
committeralfred <alfred@FreeBSD.org>2002-01-16 01:31:19 +0000
commit2199df01e8d069e2bed682b17b6db1041a802d10 (patch)
tree75847ce43a256ab7d9f0009430ae9386d81d7580 /sys/compat
parent482430bcf0f1253994126dbfa77f1fe8c5726705 (diff)
downloadFreeBSD-src-2199df01e8d069e2bed682b17b6db1041a802d10.zip
FreeBSD-src-2199df01e8d069e2bed682b17b6db1041a802d10.tar.gz
fix typo, there's uap, just fd
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_fcntl.c2
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) {
OpenPOWER on IntegriCloud