Changeset 3619 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 15, 2007 6:46:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r3576 r3619 3652 3652 if (!hostDVDDrive) 3653 3653 { 3654 errorArgument("Invalid host DVD drive name"); 3655 rc = E_FAIL; 3656 break; 3654 /* 2nd try: try with the real name, important on Linux+libhal */ 3655 char szPathReal[RTPATH_MAX]; 3656 if (VBOX_FAILURE(RTPathReal(dvd + 5, szPathReal, sizeof(szPathReal)))) 3657 { 3658 errorArgument("Invalid host DVD drive name"); 3659 rc = E_FAIL; 3660 break; 3661 } 3662 rc = hostDVDs->FindByName(Bstr(szPathReal), hostDVDDrive.asOutParam()); 3663 if (!hostDVDDrive) 3664 { 3665 errorArgument("Invalid host DVD drive name"); 3666 rc = E_FAIL; 3667 break; 3668 } 3657 3669 } 3658 3670 CHECK_ERROR(dvdDrive, CaptureHostDrive(hostDVDDrive));
Note:
See TracChangeset
for help on using the changeset viewer.