diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2022-08-29 21:36:17 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-29 21:51:19 +0200 |
commit | 5adb4b834b1eba82b7f3eca6324bed0355cae0af (patch) | |
tree | 3666abd2c80c0821cb365a4238e6ae6ee0964d86 /libdiskfs | |
parent | ac09ca6c033185382fbfb60e5e47fd1e8a85f6aa (diff) | |
download | hurd-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 'libdiskfs')
-rw-r--r-- | libdiskfs/io-read.c | 2 | ||||
-rw-r--r-- | libdiskfs/io-readable.c | 2 | ||||
-rw-r--r-- | libdiskfs/io-write.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/io-read.c b/libdiskfs/io-read.c index 71803517..a706d677 100644 --- a/libdiskfs/io-read.c +++ b/libdiskfs/io-read.c @@ -25,7 +25,7 @@ diskfs_S_io_read (struct protid *cred, data_t *data, mach_msg_type_number_t *datalen, off_t offset, - mach_msg_type_number_t maxread) + vm_size_t maxread) { struct node *np; int err; diff --git a/libdiskfs/io-readable.c b/libdiskfs/io-readable.c index c3debac3..03218bf3 100644 --- a/libdiskfs/io-readable.c +++ b/libdiskfs/io-readable.c @@ -22,7 +22,7 @@ /* Implement io_readable as described in <hurd/io.defs>. */ kern_return_t diskfs_S_io_readable (struct protid *cred, - mach_msg_type_number_t *amount) + vm_size_t *amount) { struct node *np; diff --git a/libdiskfs/io-write.c b/libdiskfs/io-write.c index 154bc887..9efed88f 100644 --- a/libdiskfs/io-write.c +++ b/libdiskfs/io-write.c @@ -25,7 +25,7 @@ diskfs_S_io_write (struct protid *cred, const_data_t data, mach_msg_type_number_t datalen, off_t offset, - mach_msg_type_number_t *amt) + vm_size_t *amt) { struct node *np; error_t err; |