Changeset 60373 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Apr 7, 2016 2:21:30 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106457
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r58640 r60373 552 552 ? pProxyDev->paCfgDescs[0].Core.bConfigurationValue 553 553 : 1; 554 return RTLinuxSysFsReadIntFile(10, "%s/bConfigurationValue", pszPath); /* returns -1 on failure */ 554 int64_t bCfg = 0; 555 int rc = RTLinuxSysFsReadIntFile(10, &bCfg, "%s/bConfigurationValue", pszPath); 556 if (RT_FAILURE(rc)) 557 bCfg = -1; 558 return (int)bCfg; 555 559 #else /* !VBOX_USB_WITH_SYSFS */ 556 560 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.