summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-16 01:25:54 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-16 01:25:54 +0000
commit827f79ea72c8ad90a4edb771194464d87f113178 (patch)
tree0e873f60e68cae9bd6c1e2ab1910c2c9acebb522 /libdiskfs
parent5ca3b69df9cb226f522f00175181084954635183 (diff)
entered into RCS
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-get-transcntl.c8
1 files changed, 6 insertions, 2 deletions
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 <hurd/fs.defs>. */
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;