summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/Storage/DrvHostBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Devices/Storage/DrvHostBase.cpp')
-rw-r--r--src/VBox/Devices/Storage/DrvHostBase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/VBox/Devices/Storage/DrvHostBase.cpp b/src/VBox/Devices/Storage/DrvHostBase.cpp
index b0df60857..d2f5a691a 100644
--- a/src/VBox/Devices/Storage/DrvHostBase.cpp
+++ b/src/VBox/Devices/Storage/DrvHostBase.cpp
@@ -182,7 +182,7 @@ static DECLCALLBACK(int) drvHostBaseRead(PPDMIBLOCK pInterface, uint64_t off, vo
off += cbRead32;
cbRead -= cbRead32;
pvBuf = (uint8_t *)pvBuf + cbRead32;
- } while ((cbRead > 0) && RT_SUCCESS(rc));
+ } while ((cbRead > 0) && RT_SUCCESS(rc));
#else
/*
@@ -1083,12 +1083,12 @@ static int drvHostBaseReopen(PDRVHOSTBASE pThis)
if (pThis->FileRawDevice != NIL_RTFILE)
{
RTFileClose(pThis->FileRawDevice);
- pThis->FileDevice = NIL_RTFILE;
+ pThis->FileRawDevice = NIL_RTFILE;
}
if (pThis->FileDevice != NIL_RTFILE)
{
RTFileClose(pThis->FileDevice);
- pThis->FileRawDevice = NIL_RTFILE;
+ pThis->FileDevice = NIL_RTFILE;
}
RTFILE FileRawDevice;
int rc = drvHostBaseOpen(pThis, &FileDevice, &FileRawDevice, pThis->fReadOnlyConfig);
@@ -1432,7 +1432,7 @@ int DRVHostBaseMediaPresent(PDRVHOSTBASE pThis)
return rc;
/*
- * Determin the size.
+ * Determine the size.
*/
uint64_t cb;
rc = pThis->pfnGetMediaSize(pThis, &cb);