VirtualBox

vbox的更動 11175 路徑 trunk/src/VBox/Devices/Storage


忽略:
時間撮記:
2008-8-6 上午10:05:00 (16 年 以前)
作者:
vboxsync
訊息:

Storage: pass the right pointer to VDGetInterface*

位置:
trunk/src/VBox/Devices/Storage
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Storage/RawHDDCore.cpp

    r11039 r11175  
    398398    pImage->pInterfaceError = VDGetInterfaceFromList(pInterfaces, VDINTERFACETYPE_ERROR);
    399399    if (pImage->pInterfaceError)
    400         pImage->pInterfaceErrorCallbacks = VDGetInterfaceError(pImage->pInterfaceError);
     400        pImage->pInterfaceErrorCallbacks = VDGetInterfaceError(pImage->pInterfaceError->pCallbacks);
    401401
    402402
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r11039 r11175  
    38043804    pImage->pInterfaceError = VDGetInterfaceFromList(pInterfaces, VDINTERFACETYPE_ERROR);
    38053805    if (pImage->pInterfaceError)
    3806         pImage->pInterfaceErrorCallbacks = VDGetInterfaceError(pImage->pInterfaceError);
     3806        pImage->pInterfaceErrorCallbacks = VDGetInterfaceError(pImage->pInterfaceError->pCallbacks);
    38073807
    38083808    rc = vmdkCreateImage(pImage, enmType, cbSize, uImageFlags, pszComment,
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette