Changeset 26177 in vbox
- Timestamp:
- Feb 2, 2010 10:29:01 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/Guid.h
r25346 r26177 178 178 } 179 179 180 /* to directly pass instances to RTPrintf("% Vuuid") */180 /* to directly pass instances to RTPrintf("%RTuuid") */ 181 181 PRTUUID ptr() 182 182 { -
trunk/include/VBox/com/array.h
r25346 r26177 1495 1495 AssertComRCReturnVoid (rc); 1496 1496 AssertMsgReturnVoid (InlineIsEqualGUID (_ATL_IIDOF (I), guid), 1497 ("Expected IID {% Vuuid}, got {%Vuuid}.\n",1497 ("Expected IID {%RTuuid}, got {%RTuuid}.\n", 1498 1498 &_ATL_IIDOF (I), &guid)); 1499 1499 -
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r26173 r26177 540 540 } 541 541 542 LogFlow(("%s vnetCanReceive -> % Vrc\n", INSTANCE(pState), rc));542 LogFlow(("%s vnetCanReceive -> %Rrc\n", INSTANCE(pState), rc)); 543 543 vnetCsRxLeave(pState); 544 544 return rc; -
trunk/src/VBox/Devices/VirtIO/Virtio.cpp
r26157 r26177 220 220 int rc = vpciRaiseInterrupt(pState, VERR_INTERNAL_ERROR, VPCI_ISR_QUEUE); 221 221 if (RT_FAILURE(rc)) 222 Log(("%s vqueueNotify: Failed to raise an interrupt (% Vrc).\n", INSTANCE(pState), rc));222 Log(("%s vqueueNotify: Failed to raise an interrupt (%Rrc).\n", INSTANCE(pState), rc)); 223 223 } 224 224 else -
trunk/src/VBox/Main/HostImpl.cpp
r26176 r26177 505 505 if (rc) 506 506 { 507 Log(("Failed to get host network interface list with rc=% Vrc\n", rc));507 Log(("Failed to get host network interface list with rc=%Rrc\n", rc)); 508 508 } 509 509 # else … … 1356 1356 if (RT_FAILURE(rc)) 1357 1357 { 1358 Log(("Failed to get host network interface list with rc=% Vrc\n", rc));1358 Log(("Failed to get host network interface list with rc=%Rrc\n", rc)); 1359 1359 return E_FAIL; 1360 1360 } … … 1394 1394 if (RT_FAILURE(rc)) 1395 1395 { 1396 Log(("Failed to get host network interface list with rc=% Vrc\n", rc));1396 Log(("Failed to get host network interface list with rc=%Rrc\n", rc)); 1397 1397 return E_FAIL; 1398 1398 } -
trunk/src/VBox/Main/HostNetworkInterfaceImpl.cpp
r25860 r26177 459 459 else 460 460 { 461 LogRel(("Failed to EnableStaticIpConfig with rc=% Vrc\n", rc));461 LogRel(("Failed to EnableStaticIpConfig with rc=%Rrc\n", rc)); 462 462 return rc == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 463 463 } … … 490 490 if (RT_FAILURE(rc)) 491 491 { 492 LogRel(("Failed to EnableStaticIpConfigV6 with rc=% Vrc\n", rc));492 LogRel(("Failed to EnableStaticIpConfigV6 with rc=%Rrc\n", rc)); 493 493 return rc == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 494 494 } … … 520 520 if (RT_FAILURE(rc)) 521 521 { 522 LogRel(("Failed to EnableDynamicIpConfig with rc=% Vrc\n", rc));522 LogRel(("Failed to EnableDynamicIpConfig with rc=%Rrc\n", rc)); 523 523 return rc == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 524 524 } … … 538 538 if (RT_FAILURE(rc)) 539 539 { 540 LogRel(("Failed to DhcpRediscover with rc=% Vrc\n", rc));540 LogRel(("Failed to DhcpRediscover with rc=%Rrc\n", rc)); 541 541 return rc == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL; 542 542 } -
trunk/src/VBox/Main/generic/NetIf-generic.cpp
r25149 r26177 46 46 if (RT_FAILURE(rc)) 47 47 { 48 LogRel(("NetIfAdpCtl: failed to get program path, rc=% Vrc.\n", rc));48 LogRel(("NetIfAdpCtl: failed to get program path, rc=%Rrc.\n", rc)); 49 49 return rc; 50 50 } … … 154 154 { 155 155 progress->notifyComplete(E_FAIL, COM_IIDOF(IHostNetworkInterface), HostNetworkInterface::getComponentName(), 156 "Failed to get program path, rc=% Vrc\n", rc);156 "Failed to get program path, rc=%Rrc\n", rc); 157 157 return rc; 158 158 } -
trunk/src/VBox/Main/glue/SupportErrorInfo.cpp
r25149 r26177 108 108 bool preserve = ((uintptr_t) RTTlsGet (MultiResult::sCounter)) > 0; 109 109 110 LogRel(("ERROR [COM]: aRC=%#08x aIID={% Vuuid} aComponent={%s} aText={%s} aWarning=%RTbool, aInfo=%p, preserve=%RTbool\n",110 LogRel(("ERROR [COM]: aRC=%#08x aIID={%RTuuid} aComponent={%s} aText={%s} aWarning=%RTbool, aInfo=%p, preserve=%RTbool\n", 111 111 aResultCode, 112 112 aIID, -
trunk/src/VBox/Main/testcase/tstAPI.cpp
r21878 r26177 420 420 421 421 for (size_t i = 0; i < uuids.size(); ++ i) 422 RTPrintf ("uuids[%u]=% Vuuid\n", i, &uuids [i]);422 RTPrintf ("uuids[%u]=%RTuuid\n", i, &uuids [i]); 423 423 } 424 424 … … 431 431 id.create(); 432 432 uuids [i] = id; 433 RTPrintf ("uuids[%u]=% Vuuid\n", i, &uuids [i]);433 RTPrintf ("uuids[%u]=%RTuuid\n", i, &uuids [i]); 434 434 } 435 435 … … 663 663 CHECK_ERROR_BREAK (hd, COMGETTER(Id) (id.asOutParam())); 664 664 CHECK_ERROR_BREAK (hd, COMGETTER(Location) (location.asOutParam())); 665 RTPrintf ("Found, UUID={% Vuuid}, location='%ls'.\n",665 RTPrintf ("Found, UUID={%RTuuid}, location='%ls'.\n", 666 666 id.raw(), location.raw()); 667 667 … … 925 925 926 926 RTPrintf (" disks[%u]: '%ls'\n" 927 " UUID: {% Vuuid}\n"927 " UUID: {%RTuuid}\n" 928 928 " State: %s\n" 929 929 " Format: %ls\n", … … 960 960 for (size_t j = 0; j < ids.size(); ++ j) 961 961 { 962 RTPrintf (" {% Vuuid}\n", &ids [j]);962 RTPrintf (" {%RTuuid}\n", &ids [j]); 963 963 } 964 964 } … … 983 983 984 984 RTPrintf (" images[%u]: '%ls'\n" 985 " UUID: {% Vuuid}\n"985 " UUID: {%RTuuid}\n" 986 986 " State: %s\n", 987 987 i, loc.raw(), id.raw(), … … 1016 1016 for (size_t j = 0; j < ids.size(); ++ j) 1017 1017 { 1018 RTPrintf (" {% Vuuid}\n", &ids [j]);1018 RTPrintf (" {%RTuuid}\n", &ids [j]); 1019 1019 } 1020 1020 } -
trunk/src/VBox/Main/win/NetIf-win.cpp
r26163 r26177 923 923 if (RT_FAILURE(rc)) 924 924 { 925 Log(("vboxNetWinAddComponent: collectNetIfInfo() -> % Vrc\n", rc));925 Log(("vboxNetWinAddComponent: collectNetIfInfo() -> %Rrc\n", rc)); 926 926 } 927 927 /* create a new object and add it to the list */ -
trunk/src/VBox/Runtime/testcase/tstRTStrFormat.cpp
r25872 r26177 155 155 char szCorrect[RTUUID_STR_LENGTH]; 156 156 RTUuidToStr(&Uuid, szCorrect, sizeof(szCorrect)); 157 cch = RTStrPrintf(pszBuf, BUF_SIZE, "% Vuuid", &Uuid);157 cch = RTStrPrintf(pszBuf, BUF_SIZE, "%RTuuid", &Uuid); 158 158 if (strcmp(pszBuf, szCorrect)) 159 159 RTTestIFailed("error: '%s'\n" -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r25940 r26177 1015 1015 } 1016 1016 else 1017 AssertMsg(rc == VINF_IOM_HC_MMIO_READ_WRITE || rc == VINF_IOM_HC_MMIO_WRITE || rc == VINF_PATM_HC_MMIO_PATCH_WRITE, ("rc=% Vrc\n", rc));1017 AssertMsg(rc == VINF_IOM_HC_MMIO_READ_WRITE || rc == VINF_IOM_HC_MMIO_WRITE || rc == VINF_PATM_HC_MMIO_PATCH_WRITE, ("rc=%Rrc\n", rc)); 1018 1018 } 1019 1019 else 1020 AssertMsg(rc == VINF_IOM_HC_MMIO_READ_WRITE || rc == VINF_IOM_HC_MMIO_READ || rc == VINF_PATM_HC_MMIO_PATCH_READ, ("rc=% Vrc\n", rc));1020 AssertMsg(rc == VINF_IOM_HC_MMIO_READ_WRITE || rc == VINF_IOM_HC_MMIO_READ || rc == VINF_PATM_HC_MMIO_PATCH_READ, ("rc=%Rrc\n", rc)); 1021 1021 } 1022 1022 else
Note:
See TracChangeset
for help on using the changeset viewer.