Changeset 53163 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Oct 29, 2014 10:14:36 AM (10 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp
r53161 r53163 1001 1001 if (RT_FAILURE(rc)) 1002 1002 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, 1003 N_("Failed to create USB sniffer instance (does the file already exist?)")); 1003 N_("VUSBSniffer cannot open '%s' for writing. The directory must exist and it must be writable for the current user"), 1004 pszCaptureFilename); 1004 1005 1005 1006 MMR3HeapFree(pszCaptureFilename); -
trunk/src/VBox/Devices/USB/VUSBSniffer.cpp
r53161 r53163 448 448 if (RT_SUCCESS(rc)) 449 449 { 450 rc = RTFileOpen(&pThis->hFile, pszCaptureFilename, RTFILE_O_DENY_NONE | RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_READ);450 rc = RTFileOpen(&pThis->hFile, pszCaptureFilename, RTFILE_O_DENY_NONE | RTFILE_O_CREATE_REPLACE | RTFILE_O_WRITE | RTFILE_O_READ); 451 451 if (RT_SUCCESS(rc)) 452 452 {
Note:
See TracChangeset
for help on using the changeset viewer.