Changeset 107276 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Dec 10, 2024 12:40:08 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r107268 r107276 1699 1699 return "3c501"; 1700 1700 case NetworkAdapterType_UsbNet: 1701 return " usbnet";1701 return "UsbNet"; 1702 1702 default: 1703 1703 AssertFailed(); … … 4357 4357 int vrc = VINF_SUCCESS; 4358 4358 if (adapterType == NetworkAdapterType_UsbNet) 4359 vrc = ptrVM.vtable()->pfnPDMR3UsbQuery Lun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase);4359 vrc = ptrVM.vtable()->pfnPDMR3UsbQueryDeviceLun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase); 4360 4360 else 4361 4361 vrc = ptrVM.vtable()->pfnPDMR3QueryDeviceLun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase); … … 4468 4468 const char *pszAdapterName = networkAdapterTypeToName(adapterType); 4469 4469 PPDMIBASE pBase; 4470 int vrc = ptrVM.vtable()->pfnPDMR3QueryLun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase); 4470 int vrc; 4471 if (adapterType == NetworkAdapterType_UsbNet) 4472 vrc = ptrVM.vtable()->pfnPDMR3UsbQueryLun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase); 4473 else 4474 vrc = ptrVM.vtable()->pfnPDMR3QueryLun(ptrVM.rawUVM(), pszAdapterName, ulInstance, 0, &pBase); 4471 4475 if (RT_FAILURE(vrc)) 4472 4476 {
Note:
See TracChangeset
for help on using the changeset viewer.