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/Network/DrvTAPOs2.cpp

    r11157 r11266  
    450450    if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    451451        strcpy(pThis->szDevice, "\\DEV\\TAP$");
    452     else if (VBOX_FAILURE(rc))
     452    else if (RT_FAILURE(rc))
    453453        return PDMDRV_SET_ERROR(pDrvIns, rc,
    454454                                N_("Configuration error: Query for \"Device\" failed"));
     
    458458    if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    459459        iConnectTo = -1;
    460     else if (VBOX_FAILURE(rc))
     460    else if (RT_FAILURE(rc))
    461461        return PDMDRV_SET_ERROR(pDrvIns, rc,
    462462                                N_("Configuration error: Query for \"ConnectTo\" failed"));
     
    467467     */
    468468    rc = RTFileOpen(&pThis->hDevice, pThis->szDevice, RTFILE_O_DENY_NONE | RTFILE_O_READ);
    469     if (VBOX_FAILURE(rc))
     469    if (RT_FAILURE(rc))
    470470        return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
    471471                                   N_("Failed to open tap device '%s'"), pThis->szDevice);
     
    482482    else if (Parm[0])
    483483        rc = VERR_GENERAL_FAILURE;
    484     if (VBOX_FAILURE(rc))
     484    if (RT_FAILURE(rc))
    485485        return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
    486486                                   N_("Failed to query LanNumber! orc=%d Parm={%ld,%ld}"),
     
    509509        else if (Parm[0])
    510510            rc = VERR_GENERAL_FAILURE;
    511         if (VBOX_FAILURE(rc))
     511        if (RT_FAILURE(rc))
    512512            return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
    513513                                       N_("Failed to connect %d to %d! orc=%d Parm={%ld,%ld}"),
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