VirtualBox

Ignore:
Timestamp:
Dec 21, 2016 3:25:38 PM (8 years ago)
Author:
vboxsync
Message:

VBoxManageDisk: allow a max of factor 1000 for --resize (MB)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r64988 r64989  
    687687        LONG64 logicalSize;
    688688        pMedium->COMGETTER(LogicalSize)(&logicalSize);
    689         if (cbResize > (uint64_t)logicalSize * _1M)
     689        if (cbResize > (uint64_t)logicalSize * 1000)
    690690        {
    691691            RTMsgError("Error: Attempt to resize the medium from %RU64.%RU64 MB to %RU64.%RU64 MB. Use --resizebyte if this is intended!\n",
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