Commit ee5828da authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

winebus.sys: Force debug info in critical sections.

parent b466a40f
......@@ -315,7 +315,7 @@ static DEVICE_OBJECT *bus_create_hid_device(struct device_desc *desc, UINT64 uni
ext->unix_device = unix_device;
list_init(&ext->reports);
InitializeCriticalSection(&ext->cs);
InitializeCriticalSectionEx(&ext->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
ext->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
/* add to list of pnp devices */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment