Changeset 36348 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Mar 22, 2011 3:27:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstHostHardwareLinux.cpp
r34341 r36348 64 64 while (pDevice) 65 65 { 66 RTPrintf(" Manufacturer: %s, product: %s, serial number string: %s\n", 66 const char *pcszState = 67 pDevice->enmState == USBDEVICESTATE_UNSUPPORTED ? "UNSUPPORTED" 68 : pDevice->enmState == USBDEVICESTATE_USED_BY_HOST ? "USED_BY_HOST" 69 : pDevice->enmState == USBDEVICESTATE_USED_BY_HOST_CAPTURABLE ? "USED_BY_HOST_CAPTURABLE" 70 : pDevice->enmState == USBDEVICESTATE_UNUSED ? "UNUSED" 71 : pDevice->enmState == USBDEVICESTATE_HELD_BY_PROXY ? "held by proxy" 72 : pDevice->enmState == USBDEVICESTATE_USED_BY_GUEST ? "used by guest" 73 : "invalid"; 74 RTPrintf(" Manufacturer: %s, product: %s, serial number string: %s, state: %s\n", 67 75 pDevice->pszManufacturer, pDevice->pszProduct, 68 pDevice->pszSerialNumber );76 pDevice->pszSerialNumber, pcszState); 69 77 RTPrintf(" Device address: %s\n", pDevice->pszAddress); 70 78 pDevice = pDevice->pNext;
Note:
See TracChangeset
for help on using the changeset viewer.