VirtualBox

Ignore:
Timestamp:
Aug 8, 2008 10:32:08 PM (16 years ago)
Author:
vboxsync
Message:

Devices: %Vrc -> %Rrc (just preferred, not mandatory (yet))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r11269 r11284  
    281281        Log2(("%s: off=%#llx pvBuf=%p cbRead=%d %.*Vhxd\n", __FUNCTION__,
    282282              off, pvBuf, cbRead, cbRead, pvBuf));
    283     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     283    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    284284    return rc;
    285285}
     
    296296          off, pvBuf, cbWrite, cbWrite, pvBuf));
    297297    int rc = VDWrite(pThis->pDisk, off, pvBuf, cbWrite);
    298     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     298    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    299299    return rc;
    300300}
     
    306306    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    307307    int rc = VDFlush(pThis->pDisk);
    308     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     308    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    309309    return rc;
    310310}
     
    342342        rc = VERR_PDM_GEOMETRY_NOT_SET;
    343343    }
    344     LogFlow(("%s: returns %Vrc (CHS=%d/%d/%d)\n", __FUNCTION__,
     344    LogFlow(("%s: returns %Rrc (CHS=%d/%d/%d)\n", __FUNCTION__,
    345345             rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
    346346    return rc;
     
    355355    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    356356    int rc = VDSetPCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pPCHSGeometry);
    357     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     357    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    358358    return rc;
    359359}
     
    371371        rc = VERR_PDM_GEOMETRY_NOT_SET;
    372372    }
    373     LogFlow(("%s: returns %Vrc (CHS=%d/%d/%d)\n", __FUNCTION__,
     373    LogFlow(("%s: returns %Rrc (CHS=%d/%d/%d)\n", __FUNCTION__,
    374374             rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
    375375    return rc;
     
    384384    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    385385    int rc = VDSetLCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pLCHSGeometry);
    386     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     386    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    387387    return rc;
    388388}
     
    394394    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    395395    int rc = VDGetUuid(pThis->pDisk, 0, pUuid);
    396     LogFlow(("%s: returns %Vrc ({%Vuuid})\n", __FUNCTION__, rc, pUuid));
     396    LogFlow(("%s: returns %Rrc ({%Vuuid})\n", __FUNCTION__, rc, pUuid));
    397397    return rc;
    398398}
     
    410410    PVBOXDISK pThis = PDMIMEDIAASYNC_2_VBOXDISK(pInterface);
    411411    int rc = VDAsyncRead(pThis->pDisk, uOffset, cbRead, paSeg, cSeg, pvUser);
    412     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     412    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    413413    return rc;
    414414}
     
    422422    PVBOXDISK pThis = PDMIMEDIAASYNC_2_VBOXDISK(pInterface);
    423423    int rc = VDAsyncWrite(pThis->pDisk, uOffset, cbWrite, paSeg, cSeg, pvUser);
    424     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     424    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    425425    return rc;
    426426}
     
    600600        else if (RT_FAILURE(rc))
    601601        {
    602             AssertMsgFailed(("Failed to attach async transport driver below rc=%Vrc\n", rc));
     602            AssertMsgFailed(("Failed to attach async transport driver below rc=%Rrc\n", rc));
    603603        }
    604604        else
     
    748748        else
    749749        {
    750            AssertMsgFailed(("Failed to open image '%s' rc=%Vrc\n", pszName, rc));
     750           AssertMsgFailed(("Failed to open image '%s' rc=%Rrc\n", pszName, rc));
    751751           break;
    752752        }
     
    816816    {
    817817        rc = RTCacheCreate(&pThis->pCache, 0, sizeof(DRVVDASYNCTASK), RTOBJCACHE_PROTECT_INSERT);
    818         AssertMsg(RT_SUCCESS(rc), ("Failed to create cache rc=%Vrc\n", rc));
    819     }
    820 
    821     LogFlow(("%s: returns %Vrc\n", __FUNCTION__, rc));
     818        AssertMsg(RT_SUCCESS(rc), ("Failed to create cache rc=%Rrc\n", rc));
     819    }
     820
     821    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
    822822    return rc;
    823823}
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