VirtualBox

Changeset 22486 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 26, 2009 7:02:36 PM (15 years ago)
Author:
vboxsync
Message:

EMHwaccm.cpp: Only throw an internal error if it's an informational status code.

File:
1 edited

Legend:

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

    r22482 r22486  
    308308        return rc;     /* rip already updated. */
    309309    }
    310     AssertMsgReturn(rc == VERR_NOT_FOUND, ("%Rrc\n", rc), VERR_INTERNAL_ERROR_5);
     310    AssertMsgReturn(rc == VERR_NOT_FOUND, ("%Rrc\n", rc), RT_SUCCESS_NP(rc) ? VERR_INTERNAL_ERROR_5 : rc);
    311311
    312312    /** @todo probably we should fall back to the recompiler; otherwise we'll go back and forth between HC & GC
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