VirtualBox

Changeset 85931 in vbox


Ignore:
Timestamp:
Aug 28, 2020 4:45:39 PM (4 years ago)
Author:
vboxsync
Message:

Main/HostDrivePartitionImpl.cpp: Use RTDVMVOLIDX_HOST instead of RTDVMVOLIDX_ALL. See bugref:9224:23 and bugref:9224:24.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostDrivePartitionImpl.cpp

    r85929 r85931  
    5353
    5454    /* Common attributes: */
    55     m.number = RTDvmVolumeGetIndex(hVol, RTDVMVOLIDX_ALL); /** @todo r=bird: who can use this one? The host specific index would be better. */
     55    m.number = RTDvmVolumeGetIndex(hVol, RTDVMVOLIDX_HOST);
    5656    m.cbVol  = (LONG64)RTDvmVolumeGetSize(hVol);
    5757    if (m.cbVol < 0)
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