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/io-async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnetfs/io-async.c') diff --git a/libnetfs/io-async.c b/libnetfs/io-async.c index 10504adb..2ed68d87 100644 --- a/libnetfs/io-async.c +++ b/libnetfs/io-async.c @@ -22,7 +22,7 @@ #include "netfs.h" #include "io_S.h" -error_t +kern_return_t netfs_S_io_async (struct protid *user, mach_port_t notify, mach_port_t *id, mach_msg_type_name_t *idt) { -- cgit v1.2.3