VirtualBox

Changeset 60172 in vbox


Ignore:
Timestamp:
Mar 23, 2016 3:55:13 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106197
Message:

RTStrAPrintf() returns -1 on error, no IPRT status code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp

    r60158 r60172  
    300300    pDev->enmSpeed = USBDEVICESPEED_UNKNOWN;
    301301    int rc = RTStrAPrintf((char **)&pDev->pszAddress, "%s", lpszDrvKeyName);
    302     if (RT_FAILURE(rc))
    303         return rc;
     302    if (rc < 0)
     303        return VERR_NO_MEMORY;
    304304    pDev->pszBackend = RTStrDup("host");
    305305    if (!pDev->pszBackend)
Note: See TracChangeset for help on using the changeset viewer.

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