VirtualBox

Changeset 12720 in vbox for trunk/src


Ignore:
Timestamp:
Sep 25, 2008 11:48:56 AM (16 years ago)
Author:
vboxsync
Message:

pdmR3Load3U: inverted test. grr!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMLdr.cpp

    r12716 r12720  
    272272     */
    273273    const char *pszSuff = RTLdrGetSuff();
    274     size_t      cchSuff = RTPathHaveExt(pszFilename) ? strlen(pszSuff) : 0;
     274    size_t      cchSuff = RTPathHaveExt(pszFilename) ? 0 : strlen(pszSuff);
    275275    PPDMMOD     pModule = (PPDMMOD)RTMemAllocZ(RT_OFFSETOF(PDMMOD, szFilename[cchFilename + cchSuff + 1]));
    276276    if (!pModule)
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