VirtualBox

Changeset 56978 in vbox for trunk/src/VBox/Runtime/tools


Ignore:
Timestamp:
Jul 18, 2015 6:55:25 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101690
Message:

Runtime: Formatting fixes, time.cpp being the most significant.

Location:
trunk/src/VBox/Runtime/tools
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTDbgSymCache.cpp

    r56290 r56978  
    592592static int rtDbgSymCacheAddDebugPdb(const char *pszPath, PCRTDBGSYMCACHEADDCFG pCfg, RTFILE hFile)
    593593{
    594     return RTMsgErrorRc(VERR_NOT_IMPLEMENTED, "PDB support not implemented: '%s'");
     594    return RTMsgErrorRc(VERR_NOT_IMPLEMENTED, "PDB support not implemented: '%s'", pszPath);
    595595}
    596596
     
    11601160
    11611161        case RTDBGSYMCACHEFILETYPE_IGNORE:
    1162             rc = RTMsgErrorRc(VERR_INVALID_PARAMETER, "Invalid file: '%s'");
     1162            rc = RTMsgErrorRc(VERR_INVALID_PARAMETER, "Invalid file: '%s'", pszPath);
    11631163            break;
    11641164    }
  • trunk/src/VBox/Runtime/tools/RTGzip.cpp

    r56290 r56978  
    398398                return RTMsgErrorExit(RTEXITCODE_FAILURE,
    399399                                      "RTVfsChainOpenIoStream failed with rc=%Rrc:\n"
    400                                       "    '%s'\n",
     400                                      "    '%s'\n"
    401401                                      "     %*s^\n",
    402402                                      rc, pszFile, pszError - pszFile, "");
  • trunk/src/VBox/Runtime/tools/RTLdrFlt.cpp

    r56290 r56978  
    307307                                     SegInfo.iSeg, SegInfo.szName);
    308308                        else
    309                             RTPrintf("  mapping #%u: %RTptr-???????? (segment #%u)", iMapping, aMappings[iMapping].Address);
     309                            RTPrintf("  mapping #%u: %RTptr-???????? (segment #%u)",
     310                                     iMapping, aMappings[iMapping].Address, aMappings[iMapping].iSeg);
    310311                    }
    311312
     
    381382                        RTStrmPrintf(pOutput, "=[%s:%u", RTDbgModName(hDbgMod), iSeg);
    382383                    else
    383                         RTStrmPrintf(pOutput, "=[%s", RTDbgModName(hDbgMod), iSeg);
     384                        RTStrmPrintf(pOutput, "=[%s", RTDbgModName(hDbgMod));
    384385
    385386                    /*
  • trunk/src/VBox/Runtime/tools/RTManifest.cpp

    r56290 r56978  
    7676                return RTMsgErrorExit(RTEXITCODE_FAILURE,
    7777                                      "RTVfsChainOpenIoStream failed with rc=%Rrc:\n"
    78                                       "    '%s'\n",
     78                                      "    '%s'\n"
    7979                                      "     %*s^\n",
    8080                                      rc, pszManifest, pszError - pszManifest, "");
     
    151151        if (pszError && *pszError)
    152152            RTMsgError("RTVfsChainOpenIoStream failed with rc=%Rrc:\n"
    153                        "    '%s'\n",
     153                       "    '%s'\n"
    154154                       "     %*s^\n",
    155155                       rc, pszFilename, pszError - pszFilename, "");
     
    161161    rc = RTManifestEntryAddIoStream(hManifest, hVfsIos, pszFilename, fAttr);
    162162    if (RT_FAILURE(rc))
    163         RTMsgError("RTManifestEntryAddIoStream failed for '%s': %Rrc", rc);
     163        RTMsgError("RTManifestEntryAddIoStream failed for '%s': %Rrc", pszFilename, rc);
    164164
    165165    RTVfsIoStrmRelease(hVfsIos);
     
    207207                return RTMsgErrorExit(RTEXITCODE_FAILURE,
    208208                                      "RTVfsChainOpenIoStream failed with rc=%Rrc:\n"
    209                                       "    '%s'\n",
     209                                      "    '%s'\n"
    210210                                      "     %*s^\n",
    211211                                      rc, pszManifest, pszError - pszManifest, "");
  • trunk/src/VBox/Runtime/tools/RTSignTool.cpp

    r56290 r56978  
    790790                            RTMsgInfo("Successfully wrote TrustedAnchorInfo to '%s'.", State.pszOutput);
    791791                        else
    792                             RTMsgError("RTStrmClose failed: %Rrc");
     792                            RTMsgError("RTStrmClose failed: %Rrc", rc);
    793793                    }
    794794                    else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette