summaryrefslogtreecommitdiff
path: root/libdiskfs/file-get-trans.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-04 19:57:40 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-04 19:57:40 +0000
commitea0806f5d4cf3102caf2945a7e043a060ad3ef5d (patch)
tree0dd2ebf8c776e151a0acbd02ed2a26616d02da6b /libdiskfs/file-get-trans.c
parent44d3c175e50aebb9803474432193d6794052d77d (diff)
Formerly file-get-trans.c.~5~
Diffstat (limited to 'libdiskfs/file-get-trans.c')
-rw-r--r--libdiskfs/file-get-trans.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c
index 17bcc2bb..e10daa3b 100644
--- a/libdiskfs/file-get-trans.c
+++ b/libdiskfs/file-get-trans.c
@@ -21,7 +21,8 @@
/* Implement file_get_translator as described in <hurd/fs.defs>. */
error_t
diskfs_S_file_get_translator (struct protid *cred,
- vm_address_t *trans)
+ char **trans,
+ u_int *translen)
{
struct node *np;
error_t error;
@@ -35,7 +36,7 @@ diskfs_S_file_get_translator (struct protid *cred,
if (!diskfs_node_translated (np))
error = EINVAL;
else
- error = diskfs_get_translator (np, (char **)trans);
+ error = diskfs_get_translator (np, trans, translen);
mutex_unlock (&np->lock);
return error;