VirtualBox

Ignore:
Timestamp:
Feb 20, 2008 8:52:44 PM (17 years ago)
Author:
vboxsync
Message:

build fix.

File:
1 edited

Legend:

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

    r7042 r7062  
    4949    {
    5050        cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE) - sizeof(*pHdr);
    51         pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), PAGE_SIZE), KM_SLEEP);
     51        pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), KM_SLEEP);
    5252    }
    5353    else
     
    7878#ifdef RT_ARCH_AMD64
    7979    if (pHdr->fFlags & RTMEMHDR_FLAG_EXEC)
    80         segkmem_free(heaptext_arena, pHdr, pHdr->cb + sizeof(*pHdr), PAGE_SIZE));
     80        segkmem_free(heaptext_arena, pHdr, pHdr->cb + sizeof(*pHdr));
    8181    else
    8282#endif
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