aboutsummaryrefslogtreecommitdiff
path: root/storeio/io.c
diff options
context:
space:
mode:
authorEtienne Brateau <etienne.brateau@gmail.com>2022-08-29 21:36:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-29 21:51:19 +0200
commit5adb4b834b1eba82b7f3eca6324bed0355cae0af (patch)
tree3666abd2c80c0821cb365a4238e6ae6ee0964d86 /storeio/io.c
parentac09ca6c033185382fbfb60e5e47fd1e8a85f6aa (diff)
downloadhurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.tar.gz
hurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.tar.bz2
hurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.zip
Fix types of read write and readables methods
Message-Id: <20220829193617.13481-1-etienne.brateau@gmail.com>
Diffstat (limited to 'storeio/io.c')
-rw-r--r--storeio/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/storeio/io.c b/storeio/io.c
index 634185f7..3c4cb9ff 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -83,8 +83,8 @@ trivfs_S_io_map (struct trivfs_protid *cred,
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)
+ data_t *data, mach_msg_type_name_t *data_len,
+ off_t offs, vm_size_t amount)
{
if (! cred)
return EOPNOTSUPP;
@@ -101,7 +101,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)
{
if (! cred)
return EOPNOTSUPP;
@@ -126,7 +126,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)
{
if (! cred)
return EOPNOTSUPP;