summaryrefslogtreecommitdiff
path: root/libdiskfs/file-get-trans.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-31 18:11:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-31 18:11:59 +0000
commitccebaedd24cacea4243020acd0a71209426a57f6 (patch)
tree415642ea0c29fd8343255b36e65afaac1dcd551a /libdiskfs/file-get-trans.c
parent8831bc8e3505a782bd3896545075454a0fd4fea3 (diff)
Formerly file-get-trans.c.~11~
Diffstat (limited to 'libdiskfs/file-get-trans.c')
-rw-r--r--libdiskfs/file-get-trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c
index a2971364..73fd3a61 100644
--- a/libdiskfs/file-get-trans.c
+++ b/libdiskfs/file-get-trans.c
@@ -81,7 +81,7 @@ diskfs_S_file_get_translator (struct protid *cred,
buflen++; /* terminating nul */
if (buflen > *translen)
- vm_allocate (mach_task_self (), (vm_address_t) trans, buflen, 1);
+ vm_allocate (mach_task_self (), (vm_address_t *) trans, buflen, 1);
bcopy (buf, *trans, buflen);
*translen = buflen;
error = 0;