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: --- libnetfs/fsys-set-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnetfs/fsys-set-options.c') diff --git a/libnetfs/fsys-set-options.c b/libnetfs/fsys-set-options.c index 2b7e07e0..91cc2cdc 100644 --- a/libnetfs/fsys-set-options.c +++ b/libnetfs/fsys-set-options.c @@ -46,7 +46,7 @@ helper (void *cookie, const char *name, mach_port_t control) } /* Implement fsys_set_options as described in . */ -error_t +kern_return_t netfs_S_fsys_set_options (struct netfs_control *pt, mach_port_t reply, mach_msg_type_name_t reply_type, -- cgit v1.2.3