VirtualBox

Changeset 19973 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 24, 2009 5:42:42 PM (16 years ago)
Author:
vboxsync
Message:

Host/DVD: Fix non passthrough access on FreeBSD on probably Darwin too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase.cpp

    r19968 r19973  
    164164        const uint32_t  LBA       = off / pThis->cbBlock;
    165165        AssertReturn(!(off % pThis->cbBlock), VERR_INVALID_PARAMETER);
    166         uint32_t        cbRead32  = (uint32_t)cbRead32;
     166        uint32_t        cbRead32  = (uint32_t)cbRead;
    167167        const uint32_t  cBlocks   = cbRead32 / pThis->cbBlock;
    168168        AssertReturn(!(cbRead % pThis->cbBlock), VERR_INVALID_PARAMETER);
Note: See TracChangeset for help on using the changeset viewer.

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