From 6b494f5e7599ece2ca981472d690db3df3133bde Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 14 Dec 2023 01:06:37 -0500 Subject: 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: --- libtrivfs/file-access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtrivfs/file-access.c') diff --git a/libtrivfs/file-access.c b/libtrivfs/file-access.c index f289a23b..4a65b7a7 100644 --- a/libtrivfs/file-access.c +++ b/libtrivfs/file-access.c @@ -18,7 +18,7 @@ #include "priv.h" #include "trivfs_fs_S.h" -error_t +kern_return_t trivfs_S_file_check_access (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, int *allowed) -- cgit v1.2.3