VirtualBox

Changeset 13837 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
Nov 5, 2008 2:54:02 AM (16 years ago)
Author:
vboxsync
Message:

s/%Vr\([acfs]\)/%Rr\1/g - since I'm upsetting everyone anyway, better make the most of it...

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r13835 r13837  
    809809    }
    810810
    811     LogFlow(("Display::VideoAccelEnable: rc = %Vrc.\n", rc));
     811    LogFlow(("Display::VideoAccelEnable: rc = %Rrc.\n", rc));
    812812
    813813    return rc;
     
    12601260    if (RT_FAILURE(rc))
    12611261    {
    1262         AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Vrc\n", rc));
     1262        AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc));
    12631263        return rc;
    12641264    }
  • trunk/src/VBox/Frontends/VBoxBFE/HGCM.cpp

    r13835 r13837  
    341341            rc = m_pfnLoad (&m_fntable);
    342342
    343             LogFlowFunc(("m_pfnLoad rc = %Vrc\n", rc));
     343            LogFlowFunc(("m_pfnLoad rc = %Rrc\n", rc));
    344344
    345345            if (RT_SUCCESS (rc))
     
    365365    else
    366366    {
    367         LogRel(("HGCM: Failed to load the service library: [%s], rc = %Vrc. The service will be not available.\n", m_pszSvcLibrary, rc));
     367        LogRel(("HGCM: Failed to load the service library: [%s], rc = %Rrc. The service will be not available.\n", m_pszSvcLibrary, rc));
    368368        m_hLdrMod = NIL_RTLDRMOD;
    369369    }
     
    535535        {
    536536            /* The error means some serious unrecoverable problem in the hgcmMsg/hgcmThread layer. */
    537             AssertMsgFailed (("%Vrc\n", rc));
     537            AssertMsgFailed (("%Rrc\n", rc));
    538538            break;
    539539        }
     
    847847    }
    848848
    849     LogFlowFunc(("rc = %Vrc\n", rc));
     849    LogFlowFunc(("rc = %Rrc\n", rc));
    850850    return rc;
    851851}
     
    895895    }
    896896
    897     LogFlowFunc(("rc = %Vrc\n", rc));
     897    LogFlowFunc(("rc = %Rrc\n", rc));
    898898    return rc;
    899899}
     
    920920    }
    921921
    922     LogFlowFunc(("rc = %Vrc\n", rc));
     922    LogFlowFunc(("rc = %Rrc\n", rc));
    923923    return rc;
    924924}
     
    989989    }
    990990
    991     LogFlowFunc(("rc = %Vrc\n", rc));
     991    LogFlowFunc(("rc = %Rrc\n", rc));
    992992    return rc;
    993993}
     
    13821382    }
    13831383
    1384     LogFlowFunc(("rc = %Vrc\n", rc));
     1384    LogFlowFunc(("rc = %Rrc\n", rc));
    13851385    return rc;
    13861386}
     
    14441444    }
    14451445
    1446     LogFlowFunc(("rc = %Vrc\n", rc));
     1446    LogFlowFunc(("rc = %Rrc\n", rc));
    14471447    return rc;
    14481448}
     
    14721472    }
    14731473
    1474     LogFlowFunc(("rc = %Vrc\n", rc));
     1474    LogFlowFunc(("rc = %Rrc\n", rc));
    14751475    return rc;
    14761476}
     
    14941494    }
    14951495
    1496     LogFlowFunc(("rc = %Vrc\n", rc));
     1496    LogFlowFunc(("rc = %Rrc\n", rc));
    14971497}
    14981498
     
    15351535    else
    15361536    {
    1537         Log(("MAIN::HGCMService::Call: Message allocation failed: %Vrc\n", rc));
    1538     }
    1539 
    1540     LogFlowFunc(("rc = %Vrc\n", rc));
     1537        Log(("MAIN::HGCMService::Call: Message allocation failed: %Rrc\n", rc));
     1538    }
     1539
     1540    LogFlowFunc(("rc = %Rrc\n", rc));
    15411541    return rc;
    15421542}
     
    15711571    }
    15721572
    1573     LogFlowFunc(("rc = %Vrc\n", rc));
     1573    LogFlowFunc(("rc = %Rrc\n", rc));
    15741574    return rc;
    15751575}
     
    17051705        {
    17061706            /* The error means some serious unrecoverable problem in the hgcmMsg/hgcmThread layer. */
    1707             AssertMsgFailed (("%Vrc\n", rc));
     1707            AssertMsgFailed (("%Rrc\n", rc));
    17081708            break;
    17091709        }
     
    18921892        hgcmMsgComplete (pMsgCore, rc);
    18931893
    1894         LogFlowFunc(("message processed %Vrc\n", rc));
     1894        LogFlowFunc(("message processed %Rrc\n", rc));
    18951895    }
    18961896}
     
    19471947    }
    19481948
    1949     LogFlowFunc(("rc = %Vrc\n", rc));
     1949    LogFlowFunc(("rc = %Rrc\n", rc));
    19501950    return rc;
    19511951}
     
    19911991    }
    19921992
    1993     LogFlowFunc(("*pHandle = %p, rc = %Vrc\n", *pHandle, rc));
     1993    LogFlowFunc(("*pHandle = %p, rc = %Rrc\n", *pHandle, rc));
    19941994    return rc;
    19951995}
     
    20172017    }
    20182018
    2019     LogFlowFunc(("rc = %Vrc\n", rc));
     2019    LogFlowFunc(("rc = %Rrc\n", rc));
    20202020    return;
    20212021}
     
    20662066    }
    20672067
    2068     LogFlowFunc(("rc = %Vrc\n", rc));
     2068    LogFlowFunc(("rc = %Rrc\n", rc));
    20692069    return rc;
    20702070}
     
    21092109    }
    21102110
    2111     LogFlowFunc(("rc = %Vrc\n", rc));
     2111    LogFlowFunc(("rc = %Rrc\n", rc));
    21122112    return rc;
    21132113}
     
    21402140    }
    21412141
    2142     LogFlowFunc(("rc = %Vrc\n", rc));
     2142    LogFlowFunc(("rc = %Rrc\n", rc));
    21432143    return rc;
    21442144}
     
    22042204    }
    22052205
    2206     LogFlowFunc(("rc = %Vrc\n", rc));
     2206    LogFlowFunc(("rc = %Rrc\n", rc));
    22072207    return rc;
    22082208}
     
    22542254    }
    22552255
    2256     LogFlowFunc(("rc = %Vrc\n", rc));
     2256    LogFlowFunc(("rc = %Rrc\n", rc));
    22572257    return rc;
    22582258}
     
    22742274    }
    22752275
    2276     LogFlowFunc(("rc = %Vrc\n", rc));
     2276    LogFlowFunc(("rc = %Rrc\n", rc));
    22772277    return rc;
    22782278}
     
    22942294        if (RT_FAILURE (rc))
    22952295        {
    2296             LogRel(("Failed to start HGCM thread. HGCM services will be unavailable!!! rc = %Vrc\n", rc));
    2297         }
    2298     }
    2299 
    2300     LogFlowFunc(("rc = %Vrc\n", rc));
     2296            LogRel(("Failed to start HGCM thread. HGCM services will be unavailable!!! rc = %Rrc\n", rc));
     2297        }
     2298    }
     2299
     2300    LogFlowFunc(("rc = %Rrc\n", rc));
    23012301    return rc;
    23022302}
     
    23342334    }
    23352335
    2336     LogFlowFunc(("rc = %Vrc\n", rc));
     2336    LogFlowFunc(("rc = %Rrc\n", rc));
    23372337    return rc;
    23382338}
  • trunk/src/VBox/Frontends/VBoxBFE/HGCMObjects.cpp

    r13835 r13837  
    6767    rc = RTCritSectInit (&g_critsect);
    6868
    69     LogFlow(("MAIN::hgcmObjInit: rc = %Vrc\n", rc));
     69    LogFlow(("MAIN::hgcmObjInit: rc = %Rrc\n", rc));
    7070
    7171    return rc;
     
    171171    }
    172172
    173     LogFlow(("MAIN::hgcmObjGenerateHandle: handle = 0x%08X, rc = %Vrc, return void\n", handle, rc));
     173    LogFlow(("MAIN::hgcmObjGenerateHandle: handle = 0x%08X, rc = %Rrc, return void\n", handle, rc));
    174174
    175175    return handle;
     
    211211        else
    212212        {
    213             AssertReleaseMsgFailed (("Failed to acquire object pool semaphore, rc = %Vrc", rc));
    214         }
    215     }
    216 
    217     LogFlow(("MAIN::hgcmObjDeleteHandle: rc = %Vrc, return void\n", rc));
     213            AssertReleaseMsgFailed (("Failed to acquire object pool semaphore, rc = %Rrc", rc));
     214        }
     215    }
     216
     217    LogFlow(("MAIN::hgcmObjDeleteHandle: rc = %Rrc, return void\n", rc));
    218218
    219219    return;
     
    253253    else
    254254    {
    255         AssertReleaseMsgFailed (("Failed to acquire object pool semaphore, rc = %Vrc", rc));
     255        AssertReleaseMsgFailed (("Failed to acquire object pool semaphore, rc = %Rrc", rc));
    256256    }
    257257
  • trunk/src/VBox/Frontends/VBoxBFE/HGCMThread.cpp

    r13835 r13837  
    265265    }
    266266
    267     LogFlowFunc(("rc = %Vrc\n", rc));
     267    LogFlowFunc(("rc = %Rrc\n", rc));
    268268    return rc;
    269269}
     
    337337    if (RT_FAILURE (rc))
    338338    {
    339         Log(("HGCMThread::MsgPost: FAILURE: could not obtain worker thread mutex, rc = %Vrc!!!\n", rc));
     339        Log(("HGCMThread::MsgPost: FAILURE: could not obtain worker thread mutex, rc = %Rrc!!!\n", rc));
    340340    }
    341341#endif /* LOG_ENABLED */
     
    449449    }
    450450
    451     LogFlow(("HGCMThread::MsgPost: rc = %Vrc\n", rc));
     451    LogFlow(("HGCMThread::MsgPost: rc = %Rrc\n", rc));
    452452
    453453    return rc;
     
    531531    }
    532532
    533     LogFlow(("HGCMThread::MsgGet: *ppMsg = %p, return rc = %Vrc\n", *ppMsg, rc));
     533    LogFlow(("HGCMThread::MsgGet: *ppMsg = %p, return rc = %Rrc\n", *ppMsg, rc));
    534534
    535535    return rc;
     
    644644    else
    645645    {
    646         Log(("hgcmThreadCreate: FAILURE: rc = %Vrc.\n", rc));
     646        Log(("hgcmThreadCreate: FAILURE: rc = %Rrc.\n", rc));
    647647
    648648        if (handle != 0)
     
    653653    }
    654654
    655     LogFlow(("MAIN::hgcmThreadCreate: rc = %Vrc\n", rc));
     655    LogFlow(("MAIN::hgcmThreadCreate: rc = %Rrc\n", rc));
    656656
    657657    return rc;
     
    672672    }
    673673
    674     LogFlowFunc(("rc = %Vrc\n", rc));
     674    LogFlowFunc(("rc = %Rrc\n", rc));
    675675    return rc;
    676676}
     
    700700    }
    701701
    702     LogFlow(("MAIN::hgcmMsgAlloc: handle 0x%08X, rc = %Vrc\n", *pHandle, rc));
     702    LogFlow(("MAIN::hgcmMsgAlloc: handle 0x%08X, rc = %Rrc\n", *pHandle, rc));
    703703
    704704    return rc;
     
    724724    }
    725725
    726     LogFlow(("MAIN::hgcmMsgPostInternal: hMsg 0x%08X, rc = %Vrc\n", hMsg, rc));
     726    LogFlow(("MAIN::hgcmMsgPostInternal: hMsg 0x%08X, rc = %Rrc\n", hMsg, rc));
    727727
    728728    return rc;
     
    782782    }
    783783
    784     LogFlow(("MAIN::hgcmMsgGet: *ppMsg = %p, rc = %Vrc\n", *ppMsg, rc));
     784    LogFlow(("MAIN::hgcmMsgGet: *ppMsg = %p, rc = %Rrc\n", *ppMsg, rc));
    785785
    786786    return rc;
     
    815815    rc = hgcmObjInit ();
    816816
    817     LogFlow(("MAIN::hgcmThreadInit: rc = %Vrc\n", rc));
     817    LogFlow(("MAIN::hgcmThreadInit: rc = %Rrc\n", rc));
    818818
    819819    return rc;
  • trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp

    r13835 r13837  
    255255    else
    256256    {
    257         Log (("Console::AttachUSBDevice: Failed to create proxy device for '%s' %Vuuid, vrc=%Vrc\n", Address.c_str(),
     257        Log (("Console::AttachUSBDevice: Failed to create proxy device for '%s' %Vuuid, vrc=%Rrc\n", Address.c_str(),
    258258        &Uuid, vrc));
    259259        AssertRC (vrc);
     
    270270                break;
    271271            default:
    272                 hrc = setError (E_FAIL, tr ("Failed to create USB proxy device: %Vrc"), vrc);
     272                hrc = setError (E_FAIL, tr ("Failed to create USB proxy device: %Rrc"), vrc);
    273273                break;
    274274        }
     
    318318    if (RT_SUCCESS (vrc))
    319319        return S_OK;
    320     Log (("Console::AttachUSBDevice: Failed to detach the device from the USB controller, vrc=%Vrc.\n", vrc));
    321     return(setError (E_UNEXPECTED, tr ("Failed to destroy the USB proxy device: %Vrc"), vrc));
    322 }
     320    Log (("Console::AttachUSBDevice: Failed to detach the device from the USB controller, vrc=%Rrc.\n", vrc));
     321    return(setError (E_UNEXPECTED, tr ("Failed to destroy the USB proxy device: %Rrc"), vrc));
     322}
  • trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.cpp

    r13835 r13837  
    257257    if (RT_FAILURE(rc))
    258258    {
    259         AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Vrc\n", rc));
     259        AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc));
    260260        return rc;
    261261    }
  • trunk/src/VBox/Frontends/VBoxBFE/MachineDebuggerImpl.cpp

    r13835 r13837  
    149149        return S_OK;
    150150
    151     AssertMsgFailed(("Could not set raw mode flags to %d, rcVBox = %Vrc\n",
     151    AssertMsgFailed(("Could not set raw mode flags to %d, rcVBox = %Rrc\n",
    152152                     rawModeFlag, rcVBox));
    153153    return E_FAIL;
     
    209209        return S_OK;
    210210
    211     AssertMsgFailed(("Could not set raw mode flags to %d, rcVBox = %Vrc\n",
     211    AssertMsgFailed(("Could not set raw mode flags to %d, rcVBox = %Rrc\n",
    212212                     rawModeFlag, rcVBox));
    213213    return E_FAIL;
  • trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp

    r13835 r13837  
    264264    if (RT_FAILURE(rc))
    265265    {
    266         AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Vrc\n", rc));
     266        AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc));
    267267        return rc;
    268268    }
  • trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.cpp

    r13835 r13837  
    166166    if (RT_FAILURE(rc))
    167167    {
    168         AssertMsgFailed(("Configuration error: Failed to query the \"papLeds\" value! rc=%Vrc\n", rc));
     168        AssertMsgFailed(("Configuration error: Failed to query the \"papLeds\" value! rc=%Rrc\n", rc));
    169169        return rc;
    170170    }
     
    175175    else if (RT_FAILURE(rc))
    176176    {
    177         AssertMsgFailed(("Configuration error: Failed to query the \"First\" value! rc=%Vrc\n", rc));
     177        AssertMsgFailed(("Configuration error: Failed to query the \"First\" value! rc=%Rrc\n", rc));
    178178        return rc;
    179179    }
     
    184184    else if (RT_FAILURE(rc))
    185185    {
    186         AssertMsgFailed(("Configuration error: Failed to query the \"Last\" value! rc=%Vrc\n", rc));
     186        AssertMsgFailed(("Configuration error: Failed to query the \"Last\" value! rc=%Rrc\n", rc));
    187187        return rc;
    188188    }
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp

    r13835 r13837  
    162162            AssertRC (rc);
    163163#endif
    164             Log (("USBProxyServiceLinux::USBProxyServiceLinux: RTFileOpen(,%s,,) -> %Vrc\n", pszDevices, rc));
     164            Log (("USBProxyServiceLinux::USBProxyServiceLinux: RTFileOpen(,%s,,) -> %Rrc\n", pszDevices, rc));
    165165        }
    166166        RTStrFree (pszDevices);
     
    170170
    171171    mLastError = rc;
    172     LogFlowMember (("USBProxyServiceLinux::USBProxyServiceLinux: returns failure!!! (rc=%Vrc)\n", rc));
     172    LogFlowMember (("USBProxyServiceLinux::USBProxyServiceLinux: returns failure!!! (rc=%Rrc)\n", rc));
    173173}
    174174
     
    10421042        if (RT_FAILURE (rc))
    10431043        {
    1044             LogFlow (("USBProxyServiceLinux::getDevices: rc=%Vrc\n", rc));
     1044            LogFlow (("USBProxyServiceLinux::getDevices: rc=%Rrc\n", rc));
    10451045            while (pFirst)
    10461046            {
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r13836 r13837  
    245245    if (RT_FAILURE(rc))
    246246    {
    247         RTPrintf("Error: invalid network device option (rc=%Vrc): %s\n", rc, pszArg);
     247        RTPrintf("Error: invalid network device option (rc=%Rrc): %s\n", rc, pszArg);
    248248        return -1;
    249249    }
     
    276276    if (RT_FAILURE(rc))
    277277    {
    278         LogFlowFunc(("RTUuidCreate failed, returning %Vrc\n", rc));
     278        LogFlowFunc(("RTUuidCreate failed, returning %Rrc\n", rc));
    279279        return rc;
    280280    }
     
    492492            rc = RTStrToUInt32Ex(argv[curArg], NULL, 0, &g_u32MemorySizeMB);
    493493            if (RT_FAILURE(rc))
    494                 return SyntaxError("bad memory size: %s (error %Vrc)\n",
     494                return SyntaxError("bad memory size: %s (error %Rrc)\n",
    495495                                   argv[curArg], rc);
    496496        }
     
    503503            g_u32VRamSize = uVRAMMB * _1M;
    504504            if (RT_FAILURE(rc))
    505                 return SyntaxError("bad video ram size: %s (error %Vrc)\n",
     505                return SyntaxError("bad video ram size: %s (error %Rrc)\n",
    506506                                   argv[curArg], rc);
    507507        }
     
    652652                rc = GenerateMACAddress(szMacGen);
    653653                if (RT_FAILURE(rc))
    654                     return SyntaxError("failed to generate a hardware address for network device %d (error %Vrc)\n",
     654                    return SyntaxError("failed to generate a hardware address for network device %d (error %Rrc)\n",
    655655                                       i, rc);
    656656                pszMac = szMacGen;
     
    10151015    int rc = RTR3Init();
    10161016    if (RT_FAILURE(rc))
    1017         return FatalError("RTR3Init failed rc=%Vrc\n", rc);
     1017        return FatalError("RTR3Init failed rc=%Rrc\n", rc);
    10181018
    10191019    return TrustedMain(argc, argv, NULL);
     
    10941094        va_copy(va2, args); /* Have to make a copy here or GCC will break. */
    10951095        RTStrPrintf(szError, sizeof(szError),
    1096                     "%N!\nVBox status code: %d (%Vrc)", pszFormat, &va2, rc, rc);
     1096                    "%N!\nVBox status code: %d (%Rrc)", pszFormat, &va2, rc, rc);
    10971097        RTPrintf("%s\n", szError);
    10981098        va_end(va2);
     
    11701170    if (RT_FAILURE(rc))
    11711171    {
    1172         RTPrintf("Error: VM creation failed with %Vrc.\n", rc);
     1172        RTPrintf("Error: VM creation failed with %Rrc.\n", rc);
    11731173        goto failure;
    11741174    }
     
    11811181    if (RT_FAILURE(rc))
    11821182    {
    1183         RTPrintf("Error: VMR3AtStateRegister failed with %Vrc.\n", rc);
     1183        RTPrintf("Error: VMR3AtStateRegister failed with %Rrc.\n", rc);
    11841184        goto failure;
    11851185    }
     
    12901290            }
    12911291            else
    1292                 AssertMsgFailed(("VMR3Load failed, rc=%Vrc\n", rc));
     1292                AssertMsgFailed(("VMR3Load failed, rc=%Rrc\n", rc));
    12931293        }
    12941294        else
     
    13021302            }
    13031303            else
    1304                 AssertMsgFailed(("VMR3PowerOn failed, rc=%Vrc\n", rc));
     1304                AssertMsgFailed(("VMR3PowerOn failed, rc=%Rrc\n", rc));
    13051305        }
    13061306    }
     
    18091809                    if (RT_FAILURE(rc))
    18101810                    {
    1811                         FatalError("Failed to open /dev/net/tun: %Vrc\n", rc);
     1811                        FatalError("Failed to open /dev/net/tun: %Rrc\n", rc);
    18121812                        return rc;
    18131813                    }
     
    18331833                    {
    18341834                        int rc2 = RTErrConvertFromErrno(errno);
    1835                         FatalError("ioctl TUNSETIFF '%s' failed: errno=%d rc=%d (%Vrc)\n",
     1835                        FatalError("ioctl TUNSETIFF '%s' failed: errno=%d rc=%d (%Rrc)\n",
    18361836                                   IfReq.ifr_name, errno, rc, rc2);
    18371837                        return rc2;
     
    18421842                    {
    18431843                        int rc2 = RTErrConvertFromErrno(errno);
    1844                         FatalError("fcntl F_SETFL/O_NONBLOCK '%s' failed: errno=%d rc=%d (%Vrc)\n",
     1844                        FatalError("fcntl F_SETFL/O_NONBLOCK '%s' failed: errno=%d rc=%d (%Rrc)\n",
    18451845                                   IfReq.ifr_name, errno, rc, rc2);
    18461846                        return rc2;
  • trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp

    r13835 r13837  
    468468    if (RT_FAILURE(rc))
    469469    {
    470         AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Vrc\n", rc));
     470        AssertMsgFailed(("Configuration error: No/bad \"Object\" value! rc=%Rrc\n", rc));
    471471        return rc;
    472472    }
     
    483483            LogRel(("Shared Folders service loaded.\n"));
    484484        else
    485             LogRel(("Failed to load Shared Folders service %Vrc\n", rc));
     485            LogRel(("Failed to load Shared Folders service %Rrc\n", rc));
    486486
    487487        pDrvIns->pDrvHlp->pfnSSMRegister(pDrvIns, "HGCM", 0, HGCM_SSM_VERSION, 4096/* bad guess */, NULL, iface_hgcmSave, NULL, NULL, iface_hgcmLoad, NULL);
  • trunk/src/VBox/Frontends/VBoxBFE/VirtualBoxBase.h

    r13835 r13837  
    113113#define ComAssertRC(vrc)    AssertRC (vrc)
    114114#else
    115 #define ComAssertRC(vrc)    ComAssertMsgRC (vrc, ("%Vra", vrc))
     115#define ComAssertRC(vrc)    ComAssertMsgRC (vrc, ("%Rra", vrc))
    116116#endif
    117117
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