Changeset 32142 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Aug 31, 2010 1:00:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstHostHardwareLinux.cpp
r31652 r32142 123 123 pInfo->mSysfsPath); 124 124 RTPrintf (" interfaces:\n"); 125 USBInterfaceList_iterator it2; 126 USBInterfaceList_iter_init(&it2, USBInterfaceList_begin(&pInfo->mInterfaces)); 127 for (; !USBInterfaceList_iter_eq(&it2, USBInterfaceList_end(&pInfo->mInterfaces)); 128 USBInterfaceList_iter_incr(&it2)) 125 char *pszIf; 126 for (pszIf = USBDevInfoFirstInterface(pInfo->mInterfaces); pszIf; 127 pszIf = USBDevInfoNextInterface(pInfo->mInterfaces)) 129 128 { 130 129 char szDriver[RTPATH_MAX]; 131 char *pszIf = *USBInterfaceList_iter_target(&it2);132 130 strcpy(szDriver, "none"); 133 131 ssize_t size = RTLinuxSysFsGetLinkDest(szDriver, sizeof(szDriver),
Note:
See TracChangeset
for help on using the changeset viewer.