aboutsummaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/netfs.h4
-rw-r--r--libnetfs/set-get-trans.c4
-rw-r--r--libnetfs/trans-callback.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h
index 3bab63cd..6fc53ce4 100644
--- a/libnetfs/netfs.h
+++ b/libnetfs/netfs.h
@@ -154,7 +154,7 @@ error_t netfs_attempt_mkdev (struct iouser *cred, struct node *np,
translator record for FILE to ARGZ (of length ARGZLEN) for user
CRED. NP is locked. */
error_t netfs_set_translator (struct iouser *cred, struct node *np,
- const char *argz, size_t argzlen);
+ const char *argz, mach_msg_type_number_t argzlen);
/* The user may define this function (but should define it together
with netfs_set_translator). For locked node NODE with S_IPTRANS
@@ -162,7 +162,7 @@ error_t netfs_set_translator (struct iouser *cred, struct node *np,
name into newly malloced storage, and return it in *ARGZ; set
*ARGZ_LEN to the total length. */
error_t netfs_get_translator (struct node *node, char **argz,
- size_t *argz_len);
+ mach_msg_type_number_t *argz_len);
/* The user must define this function. This should attempt a chflags
call for the user specified by CRED on locked node NP, to change
diff --git a/libnetfs/set-get-trans.c b/libnetfs/set-get-trans.c
index 52e68ac7..585e7fd7 100644
--- a/libnetfs/set-get-trans.c
+++ b/libnetfs/set-get-trans.c
@@ -30,7 +30,7 @@
CRED. */
error_t __attribute__ ((weak))
netfs_set_translator (struct iouser *cred, struct node *np,
- const char *argz, size_t argzlen)
+ const char *argz, mach_msg_type_number_t argzlen)
{
return EOPNOTSUPP;
}
@@ -41,7 +41,7 @@ netfs_set_translator (struct iouser *cred, struct node *np,
malloced storage, and return it in *ARGZ; set *ARGZ_LEN to the total
length. */
error_t __attribute__ ((weak))
-netfs_get_translator (struct node *node, char **argz, size_t *argz_len)
+netfs_get_translator (struct node *node, char **argz, mach_msg_type_number_t *argz_len)
{
return EOPNOTSUPP;
}
diff --git a/libnetfs/trans-callback.c b/libnetfs/trans-callback.c
index de436995..d9ec2dc2 100644
--- a/libnetfs/trans-callback.c
+++ b/libnetfs/trans-callback.c
@@ -27,7 +27,7 @@
static error_t
_netfs_translator_callback1_fn (void *cookie1, void *cookie2,
uid_t *uid, gid_t *gid,
- char **argz, size_t *argz_len)
+ char **argz, mach_msg_type_number_t *argz_len)
{
error_t err;
struct node *np = cookie1;