Pass 0 to level argument of KeInitializeMutex
As documented by Microsoft this reserved argument should be set to 0. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Yuri Benditovich <yuri.benditovich@daynix.com>
This commit is contained in:
parent
9460db8760
commit
3437f04cea
@ -3641,10 +3641,10 @@ BOOL QxlDevice::CreateEvents()
|
||||
KeInitializeEvent(&m_PresentThreadReadyEvent,
|
||||
SynchronizationEvent,
|
||||
FALSE);
|
||||
KeInitializeMutex(&m_MemLock,1);
|
||||
KeInitializeMutex(&m_CmdLock,1);
|
||||
KeInitializeMutex(&m_IoLock,1);
|
||||
KeInitializeMutex(&m_CrsLock,1);
|
||||
KeInitializeMutex(&m_MemLock, 0);
|
||||
KeInitializeMutex(&m_CmdLock, 0);
|
||||
KeInitializeMutex(&m_IoLock, 0);
|
||||
KeInitializeMutex(&m_CrsLock, 0);
|
||||
|
||||
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user