summaryrefslogtreecommitdiff
path: root/sys/fs/nfsclient/nfs_clvnops.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-02-21 01:05:12 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-02-21 01:05:12 +0000
commit526d0bd547574b185147f03c13e2db7abe566a08 (patch)
treed0d078391c4959fc08545db4ab619daadd9cf1d9 /sys/fs/nfsclient/nfs_clvnops.c
parent57a82ba4d95159d3623b0d401cfc3cc8f6357c28 (diff)
downloadsrc-test2-526d0bd547574b185147f03c13e2db7abe566a08.tar.gz
src-test2-526d0bd547574b185147f03c13e2db7abe566a08.zip
Notes
Diffstat (limited to 'sys/fs/nfsclient/nfs_clvnops.c')
-rw-r--r--sys/fs/nfsclient/nfs_clvnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c
index c842c1916149..f92d19330e10 100644
--- a/sys/fs/nfsclient/nfs_clvnops.c
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -2177,7 +2177,8 @@ nfs_readdir(struct vop_readdir_args *ap)
struct vnode *vp = ap->a_vp;
struct nfsnode *np = VTONFS(vp);
struct uio *uio = ap->a_uio;
- int tresid, error = 0;
+ ssize_t tresid;
+ int error = 0;
struct vattr vattr;
if (vp->v_type != VDIR)