From d05ff8fdaa1260bbd24701f47349136d844ad575 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 6 Nov 1995 20:12:50 +0000 Subject: (_diskfs_translator_callback2_fn): UNDERLYING_TYPE should be a pointer. As should the UIDS & GIDS args to diskfs_make_protid. --- libdiskfs/trans-callback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/trans-callback.c') 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; -- cgit v1.2.3