VirtualBox

Changeset 9372 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Jun 4, 2008 1:10:06 AM (17 years ago)
Author:
vboxsync
Message:

fixed assertion, wonder if that helps the rhel3 gcc SIGSEGV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r9371 r9372  
    642642     */
    643643    AssertPtrReturn(pTimer, VERR_INVALID_HANDLE);
    644     AssertPtrReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
     644    AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
    645645
    646646    if (!pTimer->fSuspended)
     
    684684     */
    685685    AssertPtrReturn(pTimer, VERR_INVALID_HANDLE);
    686     AssertPtrReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
     686    AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
    687687
    688688    if (pTimer->fSuspended)
     
    713713        return VINF_SUCCESS;
    714714    AssertPtrReturn(pTimer, VERR_INVALID_HANDLE);
    715     AssertPtrReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
     715    AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE);
    716716
    717717    /*
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