VirtualBox

Changeset 20011 in vbox


Ignore:
Timestamp:
May 25, 2009 7:31:11 PM (16 years ago)
Author:
vboxsync
Message:

VMM: fix a typo in mmR3PagePoolAlloc() if the memory allocation failed for some reason

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/MMPagePool.cpp

    r14602 r20011  
    318318    }
    319319
    320     MMR3HeapFree(pSub);
     320    MMHyperFree(pPool->pVM, pSub);
    321321    STAM_COUNTER_INC(&pPool->cErrors);
    322322    if (pPool->fLow)
    323323        VMSetError(pPool->pVM, rc, RT_SRC_POS,
    324                    N_("Failed to expand page pool for memory below 4GB. current size: %d pages"),
     324                   N_("Failed to expand page pool for memory below 4GB. Current size: %d pages"),
    325325                   pPool->cPages);
    326326    AssertMsgFailed(("Failed to expand pool%s. rc=%Rrc poolsize=%d\n",
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r19334 r20011  
    490490            if (RT_FAILURE(rc))
    491491            {
    492                 Log(("MMR3HyperAlloc failed with %d\n", rc));
     492                Log(("MMHyperAlloc failed with %Rrc\n", rc));
    493493                return rc;
    494494            }
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r19660 r20011  
    128128    if (RT_FAILURE(rc))
    129129    {
    130         Log(("MMR3HyperAlloc failed with %Rrc\n", rc));
     130        Log(("MMHyperAlloc failed with %Rrc\n", rc));
    131131        return rc;
    132132    }
  • trunk/src/VBox/VMM/PATM/VMMAll/CSAMAll.cpp

    r19141 r20011  
    135135        if (RT_FAILURE(rc))
    136136        {
    137             Log(("MMR3HyperAlloc failed with %d\n", rc));
     137            Log(("MMHyperAlloc failed with %Rrc\n", rc));
    138138            return rc;
    139139        }
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