VirtualBox

Ignore:
Timestamp:
Nov 19, 2017 12:49:36 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119149
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/Additions/linux/lightdm-greeter/vbox-greeter.cpp

    r69500 r69749  
    936936    fFlags |= RTLOGFLAGS_USECRLF;
    937937#endif
    938     char szError[RTPATH_MAX + 128] = "";
    939938    int rc = RTLogCreateEx(&g_pLoggerRelease, fFlags, "all",
    940939                           "VBOXGREETER_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    941940                           RTLOGDEST_STDOUT,
    942941                           vboxGreeterLogHeaderFooter, g_cHistory, g_uHistoryFileSize, g_uHistoryFileTime,
    943                            szError, sizeof(szError), pszLogFile);
     942                           NULL /*pErrInfo*/, pszLogFile);
    944943    if (RT_SUCCESS(rc))
    945944    {
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