VirtualBox

Ignore:
Timestamp:
Apr 28, 2011 5:00:40 PM (14 years ago)
Author:
vboxsync
Message:

Solaris/VBoxNetFltBow: assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c

    r36875 r36876  
    13421342     */
    13431343    PVBOXNETFLTVNIC pVNIC = pvIfData;
    1344     AssertMsgReturn(VALID_PTR(pVNIC) && pVNIC->u32Magic == VBOXNETFLTVNIC_MAGIC,
    1345                     ("Invalid pvIfData=%p magic=%#x (expected %#x)\n", pvIfData, pVNIC ? pVNIC->u32Magic : 0, VBOXNETFLTVNIC_MAGIC),
    1346                     VERR_INVALID_PARAMETER);
     1344    AssertReturn(VALID_PTR(pVNIC), VERR_INVALID_POINTER);
     1345    AssertMsgReturn(pVNIC->u32Magic == VBOXNETFLTVNIC_MAGIC,
     1346                    ("Invalid magic=%#x (expected %#x)\n", pVNIC->u32Magic, VBOXNETFLTVNIC_MAGIC),
     1347                    VERR_INVALID_MAGIC);
    13471348
    13481349    /*
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