From cf58f819cb0e2e85aeeea119ca8ecee50ba57189 Mon Sep 17 00:00:00 2001 From: Max Brombach Date: Thu, 27 Aug 2026 18:33:01 +0000 Subject: [PATCH] Platform: Darwin: Replace deprecate kIOMasterPortDefault with kIOMainPortDefault --- platform/posix/darwin/cdcacmdarwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/posix/darwin/cdcacmdarwin.cpp b/platform/posix/darwin/cdcacmdarwin.cpp index ea322e6..601c672 100644 --- a/platform/posix/darwin/cdcacmdarwin.cpp +++ b/platform/posix/darwin/cdcacmdarwin.cpp @@ -86,7 +86,7 @@ void CDCACM::Find(std::vector& found) { if(ref == nullptr) return; io_iterator_t matchingServices = 0; - kern_return_t kernResult = IOServiceGetMatchingServices(kIOMasterPortDefault, ref, &matchingServices); + kern_return_t kernResult = IOServiceGetMatchingServices(kIOMainPortDefault, ref, &matchingServices); if(KERN_SUCCESS != kernResult || matchingServices == 0) return; IOReleaser matchingServicesReleaser(matchingServices);