Changeset 69751 in vbox for trunk/src/VBox/Frontends/VBoxAutostart
- Timestamp:
- Nov 19, 2017 1:38:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-posix.cpp
r69500 r69751 498 498 499 499 /* create release logger, to stdout */ 500 char szError[RTPATH_MAX + 128];500 RTERRINFOSTATIC ErrInfo; 501 501 rc = com::VBoxLogRelCreate("Autostart", g_fDaemonize ? NULL : pszLogFile, 502 502 RTLOGFLAGS_PREFIX_THREAD | RTLOGFLAGS_PREFIX_TIME_PROG, … … 504 504 RTLOGDEST_STDOUT, UINT32_MAX /* cMaxEntriesPerGroup */, 505 505 g_cHistory, g_uHistoryFileTime, g_uHistoryFileSize, 506 szError, sizeof(szError));506 RTErrInfoInitStatic(&ErrInfo)); 507 507 if (RT_FAILURE(rc)) 508 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", szError, rc);508 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", ErrInfo.Core.pszMsg, rc); 509 509 510 510 #ifdef VBOXAUTOSTART_DAEMONIZE … … 534 534 RTLOGDEST_FILE, UINT32_MAX /* cMaxEntriesPerGroup */, 535 535 g_cHistory, g_uHistoryFileTime, g_uHistoryFileSize, 536 szError, sizeof(szError));536 RTErrInfoInitStatic(&ErrInfo)); 537 537 if (RT_FAILURE(rc)) 538 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", szError, rc);538 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", ErrInfo.Core.pszMsg, rc); 539 539 } 540 540 #endif
Note:
See TracChangeset
for help on using the changeset viewer.