https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1539fb1414d099096475e…
commit 1539fb1414d099096475ee7a859e8da54379ad79
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Aug 20 14:20:17 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Aug 23 13:03:36 2019 +0200
[NTOSKRNL] Demote some noisy dprints
---
ntoskrnl/io/pnpmgr/plugplay.c | 4 ++--
ntoskrnl/po/power.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/io/pnpmgr/plugplay.c b/ntoskrnl/io/pnpmgr/plugplay.c
index 8526817c3c7..7782c3ee135 100644
--- a/ntoskrnl/io/pnpmgr/plugplay.c
+++ b/ntoskrnl/io/pnpmgr/plugplay.c
@@ -1077,7 +1077,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData)
#endif
{
/* A driver has already been loaded for this device */
- DPRINT1("A reboot is required for the current driver for '%wZ'
to be replaced\n", &DeviceNode->InstancePath);
+ DPRINT("A reboot is required for the current driver for '%wZ' to
be replaced\n", &DeviceNode->InstancePath);
DeviceNode->Problem = CM_PROB_NEED_RESTART;
}
}
@@ -1093,7 +1093,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData)
if (NT_SUCCESS(Status))
{
/* Start the service and begin PnP initialization of the device again */
- DPRINT1("A new driver will be loaded for '%wZ' (no FDO
above)\n", &DeviceNode->InstancePath);
+ DPRINT("A new driver will be loaded for '%wZ' (no FDO
above)\n", &DeviceNode->InstancePath);
Status = IopActionInitChildServices(DeviceNode, DeviceNode->Parent);
}
}
diff --git a/ntoskrnl/po/power.c b/ntoskrnl/po/power.c
index 121a41cdda3..fe26c0f4620 100644
--- a/ntoskrnl/po/power.c
+++ b/ntoskrnl/po/power.c
@@ -625,7 +625,7 @@ VOID
NTAPI
PoStartNextPowerIrp(IN PIRP Irp)
{
- UNIMPLEMENTED;
+ UNIMPLEMENTED_ONCE;
}
/*