VirtualBox

Changeset 18196 in vbox


Ignore:
Timestamp:
Mar 24, 2009 3:19:20 PM (16 years ago)
Author:
vboxsync
Message:

Runtime: don't hide the return code from SUPR3Init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r18095 r18196  
    217217         * (The more time for updates before real use, the better.)
    218218         */
    219         SUPR3Init(NULL);
     219        rc = SUPR3Init(NULL);
     220        if (RT_FAILURE(rc))
     221        {
     222            AssertMsgFailed(("Failed to initializeble the support library, rc=%Rrc!\n", rc));
     223            ASMAtomicWriteBool(&g_fInitializing, false);
     224            ASMAtomicDecS32(&g_cUsers);
     225            return rc;
     226        }
    220227    }
    221228#endif
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