diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-12-14 01:06:37 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-12-17 23:57:00 +0100 |
commit | 6b494f5e7599ece2ca981472d690db3df3133bde (patch) | |
tree | 82ea19a196c6e4c8c53ddce4d1528e92b9751cb1 /console-client | |
parent | b1d240be9b36a1db738e1357081987873be94636 (diff) | |
download | hurd-6b494f5e7599ece2ca981472d690db3df3133bde.tar.gz hurd-6b494f5e7599ece2ca981472d690db3df3133bde.tar.bz2 hurd-6b494f5e7599ece2ca981472d690db3df3133bde.zip |
Update server handlers to return kern_return_error to fix -Werror=enum-int-mismatch warnings
MiG expects those to return kern_return_t.
Message-ID: <ZXqbbXpVqQAwd2qv@jupiter.tail36e24.ts.net>
Diffstat (limited to 'console-client')
-rw-r--r-- | console-client/trans.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/console-client/trans.c b/console-client/trans.c index e43dec66..27ea5418 100644 --- a/console-client/trans.c +++ b/console-client/trans.c @@ -333,7 +333,7 @@ netfs_attempt_lookup (struct iouser *user, struct node *dir, } -error_t +kern_return_t netfs_S_io_seek (struct protid *user, off_t offset, int whence, off_t *newoffset) { @@ -363,7 +363,7 @@ io_select_common (struct protid *user, mach_port_t reply, } -error_t +kern_return_t netfs_S_io_select (struct protid *user, mach_port_t reply, mach_msg_type_name_t replytype, int *type) { @@ -371,7 +371,7 @@ netfs_S_io_select (struct protid *user, mach_port_t reply, } -error_t +kern_return_t netfs_S_io_select_timeout (struct protid *user, mach_port_t reply, mach_msg_type_name_t replytype, struct timespec ts, int *type) @@ -573,7 +573,7 @@ netfs_attempt_write (struct iouser *cred, struct node *np, } -error_t +kern_return_t netfs_S_io_read (struct protid *user, data_t *data, mach_msg_type_number_t *datalen, @@ -592,7 +592,7 @@ netfs_S_io_read (struct protid *user, } -error_t +kern_return_t netfs_S_io_write (struct protid *user, const_data_t data, mach_msg_type_number_t datalen, |