VirtualBox

Changeset 26780 in vbox for trunk/src/VBox/VMM/PDMDevHlp.cpp


Ignore:
Timestamp:
Feb 25, 2010 11:07:59 AM (15 years ago)
Author:
vboxsync
Message:

PDMDevHlp.cpp: Fixed source wrong position passing in pdmR3DevHlp_CritSectInit. Caused all device critsects to be lumped together in the same class. Possibly fixing #4707.

File:
1 edited

Legend:

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

    r26165 r26780  
    14291429    PVM pVM = pDevIns->Internal.s.pVMR3;
    14301430    VM_ASSERT_EMT(pVM);
    1431     int rc = pdmR3CritSectInitDevice(pVM, pDevIns, pCritSect, RT_SRC_POS, pszNameFmt, va);
     1431    int rc = pdmR3CritSectInitDevice(pVM, pDevIns, pCritSect, RT_SRC_POS_ARGS, pszNameFmt, va);
    14321432
    14331433    LogFlow(("pdmR3DevHlp_CritSectInit: caller='%s'/%d: returns %Rrc\n", pDevIns->pReg->szName, pDevIns->iInstance, rc));
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