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 /fatfs | |
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 'fatfs')
-rw-r--r-- | fatfs/inode.c | 2 | ||||
-rw-r--r-- | fatfs/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fatfs/inode.c b/fatfs/inode.c index 1004cf05..c38ee0d9 100644 --- a/fatfs/inode.c +++ b/fatfs/inode.c @@ -545,7 +545,7 @@ diskfs_truncate (struct node *node, loff_t length) return err; } -error_t +kern_return_t diskfs_S_file_get_storage_info (struct protid *cred, mach_port_t **ports, mach_msg_type_name_t *ports_type, diff --git a/fatfs/main.c b/fatfs/main.c index 5ece199b..da6aa949 100644 --- a/fatfs/main.c +++ b/fatfs/main.c @@ -270,7 +270,7 @@ diskfs_readonly_changed (int readonly) /* FIXME: libdiskfs doesn't lock the parent dir when looking up a node for fsys_getfile, so we disable NFS. */ -error_t +kern_return_t diskfs_S_fsys_getfile (struct diskfs_control *pt, mach_port_t reply, mach_msg_type_name_t reply_type, const uid_t *uids, mach_msg_type_number_t nuids, |