PBXGetVolInfoSync is deprecated but there are something like 15 different functions with different prefixes that all do about the same thing. For now, just mark it as deprecated until I can figure out which I should be using.

This commit is contained in:
Steve Checkoway
2006-01-15 12:22:47 +00:00
parent ca51dc9bd3
commit 75ec9b356c
@@ -209,7 +209,7 @@ void MemoryCardDriverThreaded_OSX::GetUSBStorageDevices( vector<UsbStorageDevice
* param.ioVTotalBytes,
* IORegistryEntryCreateCFProperty( entry, CFSTR(kIOMediaSizeKey), NULL, 0 ),
* or fs[i].f_blocks * fs[i].f_bsize, however, we released entry already. */
// XXX PBXGetVolInfoSync is apparently deprecated.
if( PBXGetVolInfoSync(&param) == noErr )
{
usbd.iRefNum = param.ioVRefNum;