Author: dgorbachev
Date: Thu Oct 6 19:59:27 2011
New Revision: 54029
URL:
http://svn.reactos.org/svn/reactos?rev=54029&view=rev
Log:
[NTOSKRNL]
Fix dbg output.
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpnotify.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpnotify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpnoti…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpnotify.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpnotify.c [iso-8859-1] Thu Oct 6 19:59:27 2011
@@ -259,10 +259,11 @@
NTSTATUS Status;
PAGED_CODE();
- DPRINT("__FUNCTION__(EventCategory 0x%x, EventCategoryFlags 0x%lx, DriverObject
%p) called.\n",
- EventCategory,
- EventCategoryFlags,
- DriverObject);
+ DPRINT("%s(EventCategory 0x%x, EventCategoryFlags 0x%lx, DriverObject %p)
called.\n",
+ __FUNCTION__,
+ EventCategory,
+ EventCategoryFlags,
+ DriverObject);
ObReferenceObject(DriverObject);
@@ -344,19 +345,18 @@
}
default:
{
- DPRINT1("__FUNCTION__(): unknown EventCategory 0x%x
UNIMPLEMENTED\n",
- EventCategory);
+ DPRINT1("%s: unknown EventCategory 0x%x UNIMPLEMENTED\n",
+ __FUNCTION__, EventCategory);
break;
}
}
KeAcquireGuardedMutex(&PnpNotifyListLock);
- InsertHeadList(&PnpNotifyListHead,
+ InsertHeadList(&PnpNotifyListHead,
&Entry->PnpNotifyList);
KeReleaseGuardedMutex(&PnpNotifyListLock);
- DPRINT("IoRegisterPlugPlayNotification() returns NotificationEntry %p\n",
- Entry);
+ DPRINT("%s returns NotificationEntry %p\n", __FUNCTION__, Entry);
*NotificationEntry = Entry;
@@ -374,7 +374,7 @@
PAGED_CODE();
Entry = (PPNP_NOTIFY_ENTRY)NotificationEntry;
- DPRINT("__FUNCTION__(NotificationEntry %p) called\n", Entry);
+ DPRINT("%s(NotificationEntry %p) called\n", __FUNCTION__, Entry);
KeAcquireGuardedMutex(&PnpNotifyListLock);
RemoveEntryList(&Entry->PnpNotifyList);