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/fsys-get-source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/fsys-get-source.c') diff --git a/libdiskfs/fsys-get-source.c b/libdiskfs/fsys-get-source.c index cd151560..c2197a61 100644 --- a/libdiskfs/fsys-get-source.c +++ b/libdiskfs/fsys-get-source.c @@ -26,7 +26,7 @@ appropriate in the context of the translator. For example, if the translator is a filesystem residing on a block device, then SOURCE should be the file name of the underlying block device. */ -error_t +kern_return_t diskfs_S_fsys_get_source (struct diskfs_control *fsys, mach_port_t reply, mach_msg_type_name_t replytype, -- cgit v1.2.3