aboutsummaryrefslogtreecommitdiff
path: root/tmpfs
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-12-14 01:06:37 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-17 23:57:00 +0100
commit6b494f5e7599ece2ca981472d690db3df3133bde (patch)
tree82ea19a196c6e4c8c53ddce4d1528e92b9751cb1 /tmpfs
parentb1d240be9b36a1db738e1357081987873be94636 (diff)
downloadhurd-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 'tmpfs')
-rw-r--r--tmpfs/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpfs/node.c b/tmpfs/node.c
index 8cf25090..76895612 100644
--- a/tmpfs/node.c
+++ b/tmpfs/node.c
@@ -621,7 +621,7 @@ diskfs_max_user_pager_prot (void)
return VM_PROT_READ; /* Probable lie that lets us go read-only. */
}
-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,