mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[NTOSKRNL]
Fix dbg output. svn path=/trunk/; revision=54029
This commit is contained in:
parent
9fc97e9f95
commit
d2a93ea6d9
1 changed files with 10 additions and 10 deletions
|
@ -259,7 +259,8 @@ IoRegisterPlugPlayNotification(IN IO_NOTIFICATION_EVENT_CATEGORY EventCategory,
|
|||
NTSTATUS Status;
|
||||
PAGED_CODE();
|
||||
|
||||
DPRINT("__FUNCTION__(EventCategory 0x%x, EventCategoryFlags 0x%lx, DriverObject %p) called.\n",
|
||||
DPRINT("%s(EventCategory 0x%x, EventCategoryFlags 0x%lx, DriverObject %p) called.\n",
|
||||
__FUNCTION__,
|
||||
EventCategory,
|
||||
EventCategoryFlags,
|
||||
DriverObject);
|
||||
|
@ -344,8 +345,8 @@ IoRegisterPlugPlayNotification(IN IO_NOTIFICATION_EVENT_CATEGORY EventCategory,
|
|||
}
|
||||
default:
|
||||
{
|
||||
DPRINT1("__FUNCTION__(): unknown EventCategory 0x%x UNIMPLEMENTED\n",
|
||||
EventCategory);
|
||||
DPRINT1("%s: unknown EventCategory 0x%x UNIMPLEMENTED\n",
|
||||
__FUNCTION__, EventCategory);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -355,8 +356,7 @@ IoRegisterPlugPlayNotification(IN IO_NOTIFICATION_EVENT_CATEGORY EventCategory,
|
|||
&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 @@ IoUnregisterPlugPlayNotification(IN PVOID NotificationEntry)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue