UsbDk: Trivial: fix control device traces
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
499019813b
commit
2f94f30148
1 changed files with 2 additions and 2 deletions
|
|
@ -317,12 +317,12 @@ CUsbDkControlDevice* CUsbDkControlDevice::Reference(WDFDRIVER Driver)
|
|||
{
|
||||
if (!m_UsbDkControlDevice->InitialAddRef())
|
||||
{
|
||||
TraceEvents(TRACE_LEVEL_ERROR, TRACE_CONTROLDEVICE, "%!FUNC! control device already exists");
|
||||
TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_CONTROLDEVICE, "%!FUNC! control device already exists");
|
||||
return m_UsbDkControlDevice->Get();
|
||||
}
|
||||
else
|
||||
{
|
||||
TraceEvents(TRACE_LEVEL_ERROR, TRACE_CONTROLDEVICE, "%!FUNC! creating control device");
|
||||
TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_CONTROLDEVICE, "%!FUNC! creating control device");
|
||||
}
|
||||
|
||||
CUsbDkControlDevice *dev = new CUsbDkControlDevice();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue