Changeset 5215 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 10, 2007 11:46:02 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25147
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r5214 r5215 946 946 * @returns VBox status code. 947 947 */ 948 static int drvHostBaseOpen(PDRVHOSTBASE pThis, PRTFILE p BlockFileDevice, PRTFILE pFileRawDevice, bool fReadOnly)948 static int drvHostBaseOpen(PDRVHOSTBASE pThis, PRTFILE pFileBlockDevice, PRTFILE pFileRawDevice, bool fReadOnly) 949 949 { 950 950 unsigned fFlags = (pThis->fReadOnlyConfig ? RTFILE_O_READ : RTFILE_O_READWRITE) | RTFILE_O_NON_BLOCK; 951 int rc = RTFileOpen(p BlockFileDevice, pThis->pszDeviceOpen, fFlags);951 int rc = RTFileOpen(pFileBlockDevice, pThis->pszDeviceOpen, fFlags); 952 952 if (RT_SUCCESS(rc)) 953 953 { 954 954 rc = RTFileOpen(pFileRawDevice, pThis->pszRawDeviceOpen, fFlags); 955 955 if (RT_FAILURE(rc)) 956 RTFileClose(*p BlockFileDevice);956 RTFileClose(*pFileBlockDevice); 957 957 } 958 958 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.