summaryrefslogtreecommitdiff
path: root/tmpfs
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfs')
-rw-r--r--tmpfs/dir.c2
-rw-r--r--tmpfs/node.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tmpfs/dir.c b/tmpfs/dir.c
index 340a63da..8af2d070 100644
--- a/tmpfs/dir.c
+++ b/tmpfs/dir.c
@@ -63,7 +63,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred)
error_t
diskfs_get_directs (struct node *dp, int entry, int n,
- char **data, size_t *datacnt,
+ char **data, mach_msg_type_number_t *datacnt,
vm_size_t bufsiz, int *amt)
{
struct tmpfs_dirent *d;
diff --git a/tmpfs/node.c b/tmpfs/node.c
index 2129d305..8cf25090 100644
--- a/tmpfs/node.c
+++ b/tmpfs/node.c
@@ -340,7 +340,7 @@ diskfs_new_hardrefs (struct node *np)
error_t
-diskfs_get_translator (struct node *np, char **namep, u_int *namelen)
+diskfs_get_translator (struct node *np, char **namep, mach_msg_type_number_t *namelen)
{
*namelen = np->dn->translen;
if (*namelen == 0)
@@ -354,7 +354,7 @@ diskfs_get_translator (struct node *np, char **namep, u_int *namelen)
error_t
diskfs_set_translator (struct node *np,
- const char *name, u_int namelen,
+ const char *name, mach_msg_type_number_t namelen,
struct protid *cred)
{
char *new;