aboutsummaryrefslogtreecommitdiff
path: root/trans/streamio.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/streamio.c')
-rw-r--r--trans/streamio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trans/streamio.c b/trans/streamio.c
index 30b8b20e..acd5d674 100644
--- a/trans/streamio.c
+++ b/trans/streamio.c
@@ -482,7 +482,7 @@ error_t
trivfs_S_io_read (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
data_t *data, mach_msg_type_number_t *data_len,
- loff_t offs, mach_msg_type_number_t amount)
+ off_t offs, vm_size_t amount)
{
error_t err;
@@ -501,7 +501,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
error_t
trivfs_S_io_readable (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
error_t err;
@@ -521,7 +521,7 @@ error_t
trivfs_S_io_write (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
const_data_t data, mach_msg_type_number_t data_len,
- loff_t offs, mach_msg_type_number_t *amount)
+ off_t offs, vm_size_t *amount)
{
error_t err;