VirtualBox

Changeset 60149 in vbox


Ignore:
Timestamp:
Mar 23, 2016 11:02:51 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106168
Message:

USBGetDevices.cpp: fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/USBGetDevices.cpp

    r60148 r60149  
    285285         * Validate and skip stuff following the number.
    286286         */
    287         int rc = usbfsReadNum(&pszNext);
     287        int rc = usbfsReadSkipSuffix(&pszNext);
    288288        if (RT_FAILURE(rc))
    289289            return rc;
     
    10661066    VEC_FOR_EACH(pvecpchDevs, char *, ppszEntry)
    10671067    {
    1068         rc = usbsysfsAddIfDevice(pcszDevicesRoot, *ppszEntry, pvecDevInfo))
     1068        rc = usbsysfsAddIfDevice(pcszDevicesRoot, *ppszEntry, pvecDevInfo);
    10691069        if (RT_FAILURE(rc))
    10701070            return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette