From 827f79ea72c8ad90a4edb771194464d87f113178 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 16 Jun 1994 01:25:54 +0000 Subject: entered into RCS --- libdiskfs/file-get-transcntl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/file-get-transcntl.c b/libdiskfs/file-get-transcntl.c index 66e18da1..4a865d8c 100644 --- a/libdiskfs/file-get-transcntl.c +++ b/libdiskfs/file-get-transcntl.c @@ -21,7 +21,8 @@ /* Implement file_get_translator_cntl as described in . */ kern_return_t diskfs_S_file_get_translator_cntl (struct protid *cred, - mach_port_t *ctl) + mach_port_t *ctl, + mach_msg_type_name_t *ctltype) { struct node *np; error_t error; @@ -37,7 +38,10 @@ diskfs_S_file_get_translator_cntl (struct protid *cred, error = diskfs_isowner (np, cred); if (!error) - *ctl = np->translator.control; + { + *ctl = np->translator.control; + *ctltype = MACH_MSG_TYPE_COPY_SEND; + } diskfs_nput (np); return error; -- cgit v1.2.3