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: --- libdiskfs/file-getfh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/file-getfh.c') diff --git a/libdiskfs/file-getfh.c b/libdiskfs/file-getfh.c index db120813..140373c4 100644 --- a/libdiskfs/file-getfh.c +++ b/libdiskfs/file-getfh.c @@ -25,7 +25,7 @@ #include "fhandle.h" /* Return an NFS file handle for CRED in FH & FN_LEN. */ -error_t +kern_return_t diskfs_S_file_getfh (struct protid *cred, data_t *fh, mach_msg_type_number_t *fh_len) { -- cgit v1.2.3