summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2010-10-19 11:55:58 +0000
committerrmacklem <rmacklem@FreeBSD.org>2010-10-19 11:55:58 +0000
commit9a0c150d2eb7898e81bbf63f17cf0bf6a9147a6c (patch)
tree0bb3f3d0e383cfc1f8af48fd6175eaaf0f787f90 /sys/nfs
parentc4752b17171377483ae74146e0cac8e46081fd8d (diff)
downloadFreeBSD-src-9a0c150d2eb7898e81bbf63f17cf0bf6a9147a6c.zip
FreeBSD-src-9a0c150d2eb7898e81bbf63f17cf0bf6a9147a6c.tar.gz
Fix the type of the 3rd argument for nm_getinfo so that it works
for architectures like sparc64. Suggested by: kib MFC after: 2 weeks
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_mountcommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_mountcommon.h b/sys/nfs/nfs_mountcommon.h
index fa2547e..c004b9c 100644
--- a/sys/nfs/nfs_mountcommon.h
+++ b/sys/nfs/nfs_mountcommon.h
@@ -34,7 +34,7 @@
* used by the nlm. It includes a function pointer that provides
* a mechanism for getting the client specific info for an nfs vnode.
*/
-typedef void nfs_getinfofromvp_ftype(struct vnode *, uint8_t *, int *,
+typedef void nfs_getinfofromvp_ftype(struct vnode *, uint8_t *, size_t *,
struct sockaddr_storage *, int *, off_t *);
struct nfsmount_common {
OpenPOWER on IntegriCloud