Changeset 61231 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- May 27, 2016 9:09:18 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107520
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r59252 r61231 814 814 */ 815 815 CFMutableDictionaryRef RefMatchingDict = IOServiceMatching("IOCDBlockStorageDevice"); 816 AssertReturn(RefMatchingDict, NULL);816 AssertReturn(RefMatchingDict, VERR_NOT_FOUND); 817 817 818 818 /* … … 821 821 io_iterator_t DVDServices = NULL; 822 822 IOReturn irc = IOServiceGetMatchingServices(pThis->MasterPort, RefMatchingDict, &DVDServices); 823 AssertMsgReturn(irc == kIOReturnSuccess, ("irc=%d\n", irc), NULL);823 AssertMsgReturn(irc == kIOReturnSuccess, ("irc=%d\n", irc), VERR_NOT_FOUND); 824 824 RefMatchingDict = NULL; /* the reference is consumed by IOServiceGetMatchingServices. */ 825 825 … … 1795 1795 { 1796 1796 mach_port_deallocate(mach_task_self(), pThis->MasterPort); 1797 pThis->MasterPort = NULL;1797 pThis->MasterPort = 0; 1798 1798 } 1799 1799 if (pThis->pDASession)
Note:
See TracChangeset
for help on using the changeset viewer.