summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/trans-callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c
index e5b0df08..cfd8a95b 100644
--- a/libdiskfs/trans-callback.c
+++ b/libdiskfs/trans-callback.c
@@ -50,13 +50,13 @@ static error_t
_diskfs_translator_callback2_fn (void *cookie1, void *cookie2,
int flags,
mach_port_t *underlying,
- mach_msg_type_name_t underlying_type)
+ mach_msg_type_name_t *underlying_type)
{
struct node *np = cookie1;
mach_port_t *dotdot = cookie2;
struct protid *newpi =
diskfs_make_protid (diskfs_make_peropen (np, flags, *dotdot),
- np->dn_stat.st_uid, 1, np->dn_stat.st_gid, 1);
+ &np->dn_stat.st_uid, 1, &np->dn_stat.st_gid, 1);
*underlying = ports_get_right (newpi);
*underlying_type = MACH_MSG_TYPE_MAKE_SEND;