VirtualBox

Changeset 97883 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Dec 28, 2022 1:27:35 AM (2 years ago)
Author:
vboxsync
Message:

SUPDrv: OS/2 build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r95087 r97883  
    300300     * Verify the category and dispatch the IOCtl.
    301301     */
     302    int rc;
    302303    if (RT_LIKELY(iCat == SUP_CTL_CATEGORY))
    303304    {
     
    312313        AssertReturn(*pcbParm == sizeof(*pHdr), VERR_INVALID_PARAMETER);
    313314        KernVMLock_t Lock;
    314         int rc = KernVMLock(VMDHL_WRITE, pHdr, *pcbParm, &Lock, (KernPageList_t *)-1, NULL);
     315        rc = KernVMLock(VMDHL_WRITE, pHdr, *pcbParm, &Lock, (KernPageList_t *)-1, NULL);
    315316        AssertMsgReturn(!rc, ("KernVMLock(VMDHL_WRITE, %p, %#x, &p, NULL, NULL) -> %d\n", pHdr, *pcbParm, &Lock, rc), VERR_LOCK_FAILED);
    316317
     
    358359         */
    359360        int rc2 = KernVMUnlock(&Lock);
    360         AssertMsg(!rc2, ("rc2=%d\n", rc2)); NOREF(rc2);s
     361        AssertMsg(!rc2, ("rc2=%d\n", rc2)); NOREF(rc2);
    361362    }
    362363    else
     
    420421bool VBOXCALL  supdrvOSAreTscDeltasInSync(void)
    421422{
    422     NOREF(pDevExt);
    423423    return false;
    424424}
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