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/file-get-transcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnetfs/file-get-transcntl.c') diff --git a/libnetfs/file-get-transcntl.c b/libnetfs/file-get-transcntl.c index 04596d72..f74c8415 100644 --- a/libnetfs/file-get-transcntl.c +++ b/libnetfs/file-get-transcntl.c @@ -23,7 +23,7 @@ #include "fs_S.h" /* Implement file_get_translator_cntl as described in . */ -error_t +kern_return_t netfs_S_file_get_translator_cntl (struct protid *cred, mach_port_t *ctl, mach_msg_type_name_t *ctltype) -- cgit v1.2.3