VirtualBox

Ignore:
Timestamp:
Aug 8, 2008 4:14:51 PM (16 years ago)
Author:
vboxsync
Message:

Devices: VBOX_SUCCESS/FAILURE -> RT_SUCCESS/FAILURE.

File:
1 edited

Legend:

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

    r11191 r11266  
    128128    char *pszName;
    129129    int rc = CFGMR3QueryStringAlloc(pCfgHandle, "Path", &pszName);
    130     if (VBOX_FAILURE(rc))
     130    if (RT_FAILURE(rc))
    131131        return PDMDRV_SET_ERROR(pDrvIns, rc, N_("Failed to query \"Path\" from the config"));
    132132
     
    136136    rc = RTFileOpen(&pData->File, pszName,
    137137                    RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
    138     if (VBOX_SUCCESS(rc))
     138    if (RT_SUCCESS(rc))
    139139    {
    140140        LogFlow(("drvMediaISOConstruct: ISO image '%s' opened successfully.\n", pszName));
     
    182182    uint64_t cbFile;
    183183    int rc = RTFileGetSize(pData->File, &cbFile);
    184     if (VBOX_SUCCESS(rc))
     184    if (RT_SUCCESS(rc))
    185185    {
    186186        LogFlow(("drvMediaISOGetSize: returns %lld (%s)\n", cbFile, pData->pszFilename));
     
    238238     */
    239239    int rc = RTFileSeek(pData->File, off, RTFILE_SEEK_BEGIN, NULL);
    240     if (VBOX_SUCCESS(rc))
     240    if (RT_SUCCESS(rc))
    241241    {
    242242        rc = RTFileRead(pData->File, pvBuf, cbRead, NULL);
    243         if (VBOX_SUCCESS(rc))
     243        if (RT_SUCCESS(rc))
    244244        {
    245245            Log2(("drvMediaISORead: off=%#llx pvBuf=%p cbRead=%#x (%s)\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