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 /boot | |
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 'boot')
-rw-r--r-- | boot/boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/boot.c b/boot/boot.c index 1b10c86b..f326e5b2 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -1412,7 +1412,7 @@ S_io_write (mach_port_t object, const_data_t data, mach_msg_type_number_t datalen, off_t offset, - mach_msg_type_number_t *amtwritten) + vm_size_t *amtwritten) { if (object != pseudo_console) return EOPNOTSUPP; @@ -1437,7 +1437,7 @@ S_io_read (mach_port_t object, data_t *data, mach_msg_type_number_t *datalen, off_t offset, - mach_msg_type_number_t amount) + vm_size_t amount) { mach_msg_type_number_t avail; @@ -1489,7 +1489,7 @@ kern_return_t S_io_readable (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, - mach_msg_type_number_t *amt) + vm_size_t *amt) { if (object != pseudo_console) return EOPNOTSUPP; |