VirtualBox

Changeset 90692 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Aug 16, 2021 9:20:36 AM (3 years ago)
Author:
vboxsync
Message:

IPRT: Corrected three RTLogGetXxxx functions to RTLogQueryXxxx (getters shall not return an IPRT status code). bugref:10086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCCommands.cpp

    r86361 r90692  
    12001200    {
    12011201        char szBuf[_64K];
    1202         rc = RTLogGetGroupSettings(NULL, szBuf, sizeof(szBuf));
     1202        rc = RTLogQueryGroupSettings(NULL, szBuf, sizeof(szBuf));
    12031203        if (RT_FAILURE(rc))
    1204             return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogGetDestinations(NULL,,%#zx)\n", sizeof(szBuf));
     1204            return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryGroupSettings(NULL,,%#zx)\n", sizeof(szBuf));
    12051205        DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG=%s\n", szBuf);
    12061206    }
     
    12251225    {
    12261226        char szBuf[_16K];
    1227         rc = RTLogGetDestinations(NULL, szBuf, sizeof(szBuf));
     1227        rc = RTLogQueryDestinations(NULL, szBuf, sizeof(szBuf));
    12281228        if (RT_FAILURE(rc))
    1229             return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogGetDestinations(NULL,,%#zx)\n", sizeof(szBuf));
     1229            return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryDestinations(NULL,,%#zx)\n", sizeof(szBuf));
    12301230        DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG_DEST=%s\n", szBuf);
    12311231    }
     
    12501250    {
    12511251        char szBuf[_16K];
    1252         rc = RTLogGetFlags(NULL, szBuf, sizeof(szBuf));
     1252        rc = RTLogQueryFlags(NULL, szBuf, sizeof(szBuf));
    12531253        if (RT_FAILURE(rc))
    1254             return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogGetFlags(NULL,,%#zx)\n", sizeof(szBuf));
     1254            return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryFlags(NULL,,%#zx)\n", sizeof(szBuf));
    12551255        DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG_FLAGS=%s\n", szBuf);
    12561256    }
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