VirtualBox

Ignore:
Timestamp:
Nov 19, 2017 12:49:36 PM (7 years ago)
Author:
vboxsync
Message:

Changed RTLogCreateEx[V] to take a RTERRINFO pointer rather than plain char * and size_t. Turned out a several callers didn't actually make use of the error message even.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp

    r69500 r69749  
    115115    fFlags |= RTLOGFLAGS_USECRLF;
    116116#endif
    117     char szError[RTPATH_MAX + 128] = "";
    118117    const char * pszFilenameFmt;
    119118    RTLOGDEST enmLogDest;
     
    135134                            "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups, enmLogDest,
    136135                            NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    137                             szError, sizeof(szError), pszFilenameFmt, pszFilename, RTTimeMilliTS());
     136                            NULL /* pErrInfo */, pszFilenameFmt, pszFilename, RTTimeMilliTS());
    138137    if (RT_SUCCESS(vrc))
    139138    {
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