Changeset 84372 in vbox for trunk/src/VBox/Storage
- Timestamp:
- May 19, 2020 3:08:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VISO.cpp
r82968 r84372 265 265 int rc = vdIfIoIntFileOpen(pThis->pIfIo, pThis->pszFilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE, &pStorage); 266 266 if (RT_FAILURE(rc)) 267 { 268 LogRel(("VISO: Unable to open file '%s': %Rrc\n", pThis->pszFilename, rc)); 267 269 return rc; 270 } 271 272 LogRel(("VISO: Handling file '%s'\n", pThis->pszFilename)); 268 273 269 274 /* … … 377 382 "VISO: Failed to open parent dir of: %s", pThis->pszFilename); 378 383 } 384 else 385 vdIfError(pThis->pIfError, rc, RT_SRC_POS, "VISO: RTGetOptArgvFromString failed: %Rrc", rc); 379 386 } 380 387 else 381 388 vdIfError(pThis->pIfError, rc, RT_SRC_POS, "VISO: Invalid file encoding"); 382 389 } 390 else 391 vdIfError(pThis->pIfError, rc, RT_SRC_POS, "VISO: Parsing UUID failed: %Rrc", rc); 383 392 } 384 393 else 385 394 rc = VERR_VD_GEN_INVALID_HEADER; 386 395 } 396 else 397 vdIfError(pThis->pIfError, rc, RT_SRC_POS, "VISO: Reading file failed: %Rrc", rc); 387 398 388 399 RTMemTmpFree(pszContent); … … 398 409 } 399 410 } 411 412 if (RT_FAILURE(rc)) 413 LogRel(("VISO: Handling of file '%s' failed with %Rrc\n", pThis->pszFilename, rc)); 400 414 401 415 vdIfIoIntFileClose(pThis->pIfIo, pStorage);
Note:
See TracChangeset
for help on using the changeset viewer.