VirtualBox

Changeset 32713 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 23, 2010 12:21:45 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/alloc-r0drv: fixed invalid paramter return value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r32707 r32713  
    353353     * Validate and convert flags.
    354354     */
    355     AssertMsgReturn(!(fFlags & ~RTMEMALLOCEX_FLAGS_VALID_MASK), ("%#x\n", fFlags), NULL);
     355    AssertMsgReturn(!(fFlags & ~RTMEMALLOCEX_FLAGS_VALID_MASK), ("%#x\n", fFlags), VERR_INVALID_PARAMETER);
    356356    if (fFlags & RTMEMALLOCEX_FLAGS_ZEROED)
    357357        fHdrFlags |= RTMEMHDR_FLAG_ZEROED;
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