Changeset 61674 in vbox
- Timestamp:
- Jun 13, 2016 12:31:37 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108031
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r61673 r61674 1662 1662 /* Refer to the correct partition and use offset 0. */ 1663 1663 char *psz; 1664 #if defined(RT_OS_LINUX) 1664 1665 /* 1665 1666 * Check whether raw disk ends with a digit. In that case … … 1672 1673 if (RT_C_IS_DIGIT(pszRawName[cchRawDisk - 1])) 1673 1674 RTStrAPrintf(&psz, 1674 "%s %c%u",1675 "%sp%u", 1675 1676 rawdisk.c_str(), 1676 # if defined(RT_OS_LINUX)1677 'p',1678 # else1679 's',1680 # endif1681 1677 partitions.aPartitions[i].uIndex); 1682 1678 else … … 1685 1681 rawdisk.c_str(), 1686 1682 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 1687 1689 if (!psz) 1688 1690 {
Note:
See TracChangeset
for help on using the changeset viewer.