VirtualBox

Changeset 31542 in vbox


Ignore:
Timestamp:
Aug 10, 2010 4:22:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64642
Message:

build fix

File:
1 edited

Legend:

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

    r31539 r31542  
    10181018        else
    10191019        {
    1020             RTPrintf("File '%s' is no fixed/removable medium device\n", rawdisk.raw());
     1020            RTPrintf("File '%s' is no fixed/removable medium device\n", rawdisk.c_str());
    10211021            vrc = VERR_INVALID_PARAMETER;
    10221022            goto out;
     
    10361036    {
    10371037        vrc = RTErrConvertFromWin32(GetLastError());
    1038         RTPrintf("Error getting the geometry of the raw disk '%s': %Rrc\n", rawdisk.raw(), vrc);
     1038        RTPrintf("Error getting the geometry of the raw disk '%s': %Rrc\n", rawdisk.c_str(), vrc);
    10391039        goto out;
    10401040    }
     
    10871087            else
    10881088            {
    1089                 RTPrintf("Cannot get the block size for file '%s': %Rrc", rawdisk.raw(), vrc);
     1089                RTPrintf("Cannot get the block size for file '%s': %Rrc", rawdisk.c_str(), vrc);
    10901090                vrc = RTErrConvertFromErrno(errno);
    10911091                goto out;
     
    10951095        {
    10961096            vrc = RTErrConvertFromErrno(errno);
    1097             RTPrintf("Cannot get the block count for file '%s': %Rrc", rawdisk.raw(), vrc);
     1097            RTPrintf("Cannot get the block count for file '%s': %Rrc", rawdisk.c_str(), vrc);
    10981098            goto out;
    10991099        }
     
    11011101    else
    11021102    {
    1103         RTPrintf("File '%s' is no block device\n", rawdisk.raw());
     1103        RTPrintf("File '%s' is no block device\n", rawdisk.c_str());
    11041104        vrc = VERR_INVALID_PARAMETER;
    11051105        goto out;
     
    11161116        {
    11171117            vrc = RTErrConvertFromErrno(errno);
    1118             RTPrintf("Error getting the size of the raw disk '%s': %Rrc\n", rawdisk.raw(), vrc);
     1118            RTPrintf("Error getting the size of the raw disk '%s': %Rrc\n", rawdisk.c_str(), vrc);
    11191119            goto out;
    11201120        }
     
    11221122    else
    11231123    {
    1124         RTPrintf("File '%s' is no block or char device\n", rawdisk.raw());
     1124        RTPrintf("File '%s' is no block or char device\n", rawdisk.c_str());
    11251125        vrc = VERR_INVALID_PARAMETER;
    11261126        goto out;
     
    11381138        {
    11391139            vrc = RTErrConvertFromErrno(errno);
    1140             RTPrintf("Cannot get the block count for file '%s': %Rrc", rawdisk.raw(), vrc);
     1140            RTPrintf("Cannot get the block count for file '%s': %Rrc", rawdisk.c_str(), vrc);
    11411141            goto out;
    11421142        }
     
    11441144    else
    11451145    {
    1146         RTPrintf("File '%s' is no character device\n", rawdisk.raw());
     1146        RTPrintf("File '%s' is no character device\n", rawdisk.c_str());
    11471147        vrc = VERR_INVALID_PARAMETER;
    11481148        goto out;
     
    11541154    if (RT_FAILURE(vrc))
    11551155    {
    1156         RTPrintf("Error getting the size of the raw disk '%s': %Rrc\n", rawdisk.raw(), vrc);
     1156        RTPrintf("Error getting the size of the raw disk '%s': %Rrc\n", rawdisk.c_str(), vrc);
    11571157        goto out;
    11581158    }
     
    13331333                    /* Refer to the correct partition and use offset 0. */
    13341334                    char *psz;
    1335                     vrc = RTStrAPrintf(&psz, "%ss%u", rawdisk.raw(),
     1335                    vrc = RTStrAPrintf(&psz, "%ss%u", rawdisk.c_str(),
    13361336                                       partitions.aPartitions[i].uIndex);
    13371337                    if (RT_FAILURE(vrc))
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