Skip to content

Commit f048518

Browse files
committed
TPM (macOS): fix compiling error on old system
Fix #1659
1 parent f94d9ca commit f048518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/tpm/tpm_apple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const char* ffDetectTPM(FFTPMResult* result)
1616
#else
1717

1818
FF_IOOBJECT_AUTO_RELEASE io_service_t t2Service = IOServiceGetMatchingService(
19-
kIOMainPortDefault,
19+
MACH_PORT_NULL,
2020
IOServiceMatching("AppleT2"));
2121

2222
if (t2Service) {

0 commit comments

Comments
 (0)