VirtualBox

Changeset 82801 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 20, 2020 5:02:25 PM (5 years ago)
Author:
vboxsync
Message:

VMM/PDMDevHlp: Remove space in timer description to fix debug assertion in STAM later on due to ordering constraints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r82341 r82801  
    415415    if (pDevIns->iInstance > 0) /** @todo use a string cache here later. */
    416416    {
    417          char *pszDesc2 = MMR3HeapAPrintf(pVM, MM_TAG_PDM_DEVICE_DESC, "%s [%u]", pszDesc, pDevIns->iInstance);
     417         char *pszDesc2 = MMR3HeapAPrintf(pVM, MM_TAG_PDM_DEVICE_DESC, "%s[%u]", pszDesc, pDevIns->iInstance);
    418418         if (pszDesc2)
    419419             pszDesc = pszDesc2;
     
    440440    if (pDevIns->iInstance > 0) /** @todo use a string cache here later. */
    441441    {
    442          char *pszDesc2 = MMR3HeapAPrintf(pVM, MM_TAG_PDM_DEVICE_DESC, "%s [%u]", pszDesc, pDevIns->iInstance);
     442         char *pszDesc2 = MMR3HeapAPrintf(pVM, MM_TAG_PDM_DEVICE_DESC, "%s[%u]", pszDesc, pDevIns->iInstance);
    443443         if (pszDesc2)
    444444             pszDesc = pszDesc2;
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