- 時間撮記:
- 2016-5-27 上午09:09:18 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器