VirtualBox

Changeset 61674 in vbox


Ignore:
Timestamp:
Jun 13, 2016 12:31:37 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108031
Message:

FE/VBoxManage: Committed too much

File:
1 edited

Legend:

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

    r61673 r61674  
    16621662                    /* Refer to the correct partition and use offset 0. */
    16631663                    char *psz;
     1664#if defined(RT_OS_LINUX)
    16641665                    /*
    16651666                     * Check whether raw disk ends with a digit. In that case
     
    16721673                    if (RT_C_IS_DIGIT(pszRawName[cchRawDisk - 1]))
    16731674                        RTStrAPrintf(&psz,
    1674                                      "%s%c%u",
     1675                                     "%sp%u",
    16751676                                     rawdisk.c_str(),
    1676 # if defined(RT_OS_LINUX)
    1677                                      'p',
    1678 # else
    1679                                      's',
    1680 # endif
    16811677                                     partitions.aPartitions[i].uIndex);
    16821678                    else
     
    16851681                                     rawdisk.c_str(),
    16861682                                     partitions.aPartitions[i].uIndex);
     1683#elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
     1684                    RTStrAPrintf(&psz,
     1685                                 "%ss%u",
     1686                                 rawdisk.c_str(),
     1687                                 partitions.aPartitions[i].uIndex);
     1688#endif
    16871689                    if (!psz)
    16881690                    {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette