VirtualBox

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


Ignore:
Timestamp:
Oct 10, 2007 11:46:02 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25147
Message:

names

File:
1 edited

Legend:

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

    r5214 r5215  
    946946 * @returns VBox status code.
    947947 */
    948 static int drvHostBaseOpen(PDRVHOSTBASE pThis, PRTFILE pBlockFileDevice, PRTFILE pFileRawDevice, bool fReadOnly)
     948static int drvHostBaseOpen(PDRVHOSTBASE pThis, PRTFILE pFileBlockDevice, PRTFILE pFileRawDevice, bool fReadOnly)
    949949{
    950950    unsigned fFlags = (pThis->fReadOnlyConfig ? RTFILE_O_READ : RTFILE_O_READWRITE) | RTFILE_O_NON_BLOCK;
    951     int rc = RTFileOpen(pBlockFileDevice, pThis->pszDeviceOpen, fFlags);
     951    int rc = RTFileOpen(pFileBlockDevice, pThis->pszDeviceOpen, fFlags);
    952952    if (RT_SUCCESS(rc))
    953953    {
    954954        rc = RTFileOpen(pFileRawDevice, pThis->pszRawDeviceOpen, fFlags);
    955955        if (RT_FAILURE(rc))
    956             RTFileClose(*pBlockFileDevice);
     956            RTFileClose(*pFileBlockDevice);
    957957    }
    958958    return rc;
Note: See TracChangeset for help on using the changeset viewer.

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