aboutsummaryrefslogtreecommitdiff
path: root/libnetfs
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 /libnetfs
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 'libnetfs')
-rw-r--r--libnetfs/io-read.c2
-rw-r--r--libnetfs/io-readable.c2
-rw-r--r--libnetfs/io-write.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libnetfs/io-read.c b/libnetfs/io-read.c
index 2427ce6c..688da1f6 100644
--- a/libnetfs/io-read.c
+++ b/libnetfs/io-read.c
@@ -28,7 +28,7 @@ netfs_S_io_read (struct protid *user,
data_t *data,
mach_msg_type_number_t *datalen,
off_t offset,
- mach_msg_type_number_t amount)
+ vm_size_t amount)
{
error_t err;
off_t start;
diff --git a/libnetfs/io-readable.c b/libnetfs/io-readable.c
index 07becf66..7c365484 100644
--- a/libnetfs/io-readable.c
+++ b/libnetfs/io-readable.c
@@ -25,7 +25,7 @@
error_t
netfs_S_io_readable (struct protid *user,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
error_t err;
diff --git a/libnetfs/io-write.c b/libnetfs/io-write.c
index 482b45fc..2306d1f0 100644
--- a/libnetfs/io-write.c
+++ b/libnetfs/io-write.c
@@ -27,7 +27,7 @@ netfs_S_io_write (struct protid *user,
const_data_t data,
mach_msg_type_number_t datalen,
off_t offset,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
error_t err;
off_t off = offset;