From ff36326ea817618ceb32384a8f1f6cf0ce0690f5 Mon Sep 17 00:00:00 2001 From: nigel <> Date: Tue, 20 Jan 2004 23:31:46 +0000 Subject: [PATCH] Use correct (non-deprecated) names for some keys --- BasiliskII/src/MacOSX/sys_darwin.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BasiliskII/src/MacOSX/sys_darwin.cpp b/BasiliskII/src/MacOSX/sys_darwin.cpp index 1a8ee306..dbea3b3b 100644 --- a/BasiliskII/src/MacOSX/sys_darwin.cpp +++ b/BasiliskII/src/MacOSX/sys_darwin.cpp @@ -74,7 +74,7 @@ void DarwinAddCDROMPrefs(void) // has a property with key kIOMediaEjectable. We limit // the match only to those CDs that are actually ejectable CFDictionarySetValue(classesToMatch, - CFSTR(kIOMediaEjectable), kCFBooleanTrue); + CFSTR(kIOMediaEjectableKey), kCFBooleanTrue); } if ( IOServiceGetMatchingServices(masterPort, @@ -90,8 +90,9 @@ void DarwinAddCDROMPrefs(void) { char bsdPath[MAXPATHLEN]; CFTypeRef bsdPathAsCFString = - IORegistryEntryCreateCFProperty(nextCD, CFSTR(kIOBSDName), - kCFAllocatorDefault, 0); + IORegistryEntryCreateCFProperty(nextCD, + CFSTR(kIOBSDNameKey), + kCFAllocatorDefault, 0); *bsdPath = '\0'; if ( bsdPathAsCFString ) {