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: --- ext2fs/storeinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs') diff --git a/ext2fs/storeinfo.c b/ext2fs/storeinfo.c index 40e0f603..3d96d189 100644 --- a/ext2fs/storeinfo.c +++ b/ext2fs/storeinfo.c @@ -24,7 +24,7 @@ #include "ext2fs.h" #include "libdiskfs/fs_S.h" -error_t +kern_return_t diskfs_S_file_get_storage_info (struct protid *cred, mach_port_t **ports, mach_msg_type_name_t *ports_type, -- cgit v1.2.3