summaryrefslogtreecommitdiff
path: root/libdiskfs/file-getfh.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:31:03 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:16:00 +0200
commit4ba239ddbe936322bd7f9a8b17715ebaeb1cb800 (patch)
tree54d13689e60310babf35b5d9117278eade2ed758 /libdiskfs/file-getfh.c
parentedc6fe07c5a7f9ade000b3bfc17c030fe2086e21 (diff)
libdiskfs: Port to x86_64
Message-Id: <20230508213136.608575-9-bugaevc@gmail.com>
Diffstat (limited to 'libdiskfs/file-getfh.c')
-rw-r--r--libdiskfs/file-getfh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/file-getfh.c b/libdiskfs/file-getfh.c
index 291a70c3..db120813 100644
--- a/libdiskfs/file-getfh.c
+++ b/libdiskfs/file-getfh.c
@@ -26,7 +26,8 @@
/* Return an NFS file handle for CRED in FH & FN_LEN. */
error_t
-diskfs_S_file_getfh (struct protid *cred, data_t *fh, size_t *fh_len)
+diskfs_S_file_getfh (struct protid *cred, data_t *fh,
+ mach_msg_type_number_t *fh_len)
{
struct node *node;
union diskfs_fhandle *f;