diff options
Diffstat (limited to 'src/VBox/Runtime/common/dvm/dvm.cpp')
-rw-r--r-- | src/VBox/Runtime/common/dvm/dvm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/common/dvm/dvm.cpp b/src/VBox/Runtime/common/dvm/dvm.cpp index 1fd7aa261d3..d451ae022ce 100644 --- a/src/VBox/Runtime/common/dvm/dvm.cpp +++ b/src/VBox/Runtime/common/dvm/dvm.cpp @@ -201,7 +201,7 @@ RTDECL(int) RTDvmCreate(PRTDVM phVolMgr, RTVFSFILE hVfsFile, uint32_t cbSector, AssertReturn(cRefs != UINT32_MAX, VERR_INVALID_HANDLE); uint64_t cbDisk; - int rc = RTVfsFileGetSize(hVfsFile, &cbDisk); + int rc = RTVfsFileQuerySize(hVfsFile, &cbDisk); if (RT_SUCCESS(rc)) { PRTDVMINTERNAL pThis = (PRTDVMINTERNAL)RTMemAllocZ(sizeof(RTDVMINTERNAL)); |