summaryrefslogtreecommitdiff
path: root/libdiskfs/trans-callback.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-11-06 20:12:50 +0000
committerMiles Bader <miles@gnu.org>1995-11-06 20:12:50 +0000
commitd05ff8fdaa1260bbd24701f47349136d844ad575 (patch)
treeb097cc134684758a72ee4fbd2ada8d021f0cb1ad /libdiskfs/trans-callback.c
parent0980a17c8768df02b4d6852b7a711b5c83b44eca (diff)
(_diskfs_translator_callback2_fn):
UNDERLYING_TYPE should be a pointer. As should the UIDS & GIDS args to diskfs_make_protid.
Diffstat (limited to 'libdiskfs/trans-callback.c')
-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;