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 /libmachdev | |
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 'libmachdev')
-rw-r--r-- | libmachdev/trivfs_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/trivfs_server.c b/libmachdev/trivfs_server.c index 71993f0b..4ce1ed36 100644 --- a/libmachdev/trivfs_server.c +++ b/libmachdev/trivfs_server.c @@ -458,7 +458,7 @@ machdev_trivfs_init(int argc, char **argv, mach_port_t bootstrap_resume_task, } /* The system is going down, sync data. */ -error_t +kern_return_t S_startup_dosync (mach_port_t handle) { struct port_info *inpi = ports_lookup_port (port_bucket, handle, |