- Timestamp:
- Jul 9, 2007 11:26:04 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/log.cpp
r3148 r3502 400 400 rc = RTFileOpen(&pLogger->File, pLogger->pszFilename, 401 401 RTFILE_O_WRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_WRITE); 402 if (RT_FAILURE(rc) )402 if (RT_FAILURE(rc) && pszErrorMsg) 403 403 RTStrPrintf(pszErrorMsg, cchErrorMsg, "could not open file '%s'", pLogger->pszFilename); 404 404 } … … 416 416 return VINF_SUCCESS; 417 417 } 418 else 418 else if (pszErrorMsg) 419 419 RTStrPrintf(pszErrorMsg, cchErrorMsg, "failed to create sempahore"); 420 420 }
Note:
See TracChangeset
for help on using the changeset viewer.