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/fsys-set-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtrivfs/fsys-set-options.c') diff --git a/libtrivfs/fsys-set-options.c b/libtrivfs/fsys-set-options.c index ca5a9458..cb2015ce 100644 --- a/libtrivfs/fsys-set-options.c +++ b/libtrivfs/fsys-set-options.c @@ -23,7 +23,7 @@ #include "priv.h" #include "trivfs_fsys_S.h" -error_t +kern_return_t trivfs_S_fsys_set_options (struct trivfs_control *cntl, mach_port_t reply, mach_msg_type_name_t reply_type, const_data_t data, mach_msg_type_number_t len, -- cgit v1.2.3