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/DrvHostDVD.cpp

    r9330 r11266  
    162162         if (FileDevice == NIL_RTFILE) /* obsolete crap */
    163163             rc = RTFileOpen(&FileDevice, pThis->pszDeviceOpen, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
    164          if (VBOX_SUCCESS(rc))
     164         if (RT_SUCCESS(rc))
    165165         {
    166166             /* do ioctl */
     
    312312    uint8_t abSense[32];
    313313    int rc2 = DRVHostBaseScsiCmd(pThis, abCmd, 6, PDMBLOCKTXDIR_NONE, NULL, NULL, abSense, sizeof(abSense), 0);
    314     if (VBOX_SUCCESS(rc2))
     314    if (RT_SUCCESS(rc2))
    315315        fMediaPresent = true;
    316316    else if (   rc2 == VERR_UNRESOLVED_ERROR
     
    710710     */
    711711    int rc = DRVHostBaseInitData(pDrvIns, pCfgHandle, PDMBLOCKTYPE_DVD);
    712     if (VBOX_SUCCESS(rc))
     712    if (RT_SUCCESS(rc))
    713713    {
    714714        /*
     
    719719        bool fPassthrough;
    720720        rc = CFGMR3QueryBool(pCfgHandle, "Passthrough", &fPassthrough);
    721         if (VBOX_SUCCESS(rc) && fPassthrough)
     721        if (RT_SUCCESS(rc) && fPassthrough)
    722722        {
    723723            pThis->IBlock.pfnSendCmd = drvHostDvdSendCmd;
     
    726726# ifdef VBOX_WITH_SUID_WRAPPER  /* Solaris setuid for Passthrough mode. */
    727727            rc = solarisCheckUserAuth();
    728             if (VBOX_FAILURE(rc))
     728            if (RT_FAILURE(rc))
    729729            {
    730730                Log(("DVD: solarisCheckUserAuth failed. Permission denied!\n"));
     
    752752        rc = DRVHostBaseInitFinish(pThis);
    753753    }
    754     if (VBOX_FAILURE(rc))
     754    if (RT_FAILURE(rc))
    755755    {
    756756        if (!pThis->fAttachFailError)
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