Author: akhaldi
Date: Mon Apr 25 22:39:15 2016
New Revision: 71205
URL:
http://svn.reactos.org/svn/reactos?rev=71205&view=rev
Log:
[CLASSPNP] Addendum to r71183.
Modified:
trunk/reactos/drivers/storage/classpnp/class.c
Modified: trunk/reactos/drivers/storage/classpnp/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] Mon Apr 25 22:39:15 2016
@@ -803,13 +803,13 @@
if(irpStack->MinorFunction == IRP_MN_CANCEL_STOP_DEVICE) {
status = devInfo->ClassStopDevice(DeviceObject,
irpStack->MinorFunction);
- ASSERTMSG("ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
- L"never be failed\n", NT_SUCCESS(status));
+ ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_STOP_DEVICE should
"
+ L"never be failed\n", NT_SUCCESS(status));
} else {
status = devInfo->ClassRemoveDevice(DeviceObject,
irpStack->MinorFunction);
- ASSERTMSG("ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should
"
- L"never be failed\n", NT_SUCCESS(status));
+ ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should
"
+ L"never be failed\n", NT_SUCCESS(status));
}
Irp->IoStatus.Status = status;
@@ -876,8 +876,8 @@
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
- ASSERTMSG("ClassDispatchPnp !! STOP_DEVICE should "
- L"never be failed\n", NT_SUCCESS(status));
+ ASSERTMSGW(L"ClassDispatchPnp !! STOP_DEVICE should "
+ L"never be failed\n", NT_SUCCESS(status));
if(isFdo) {
status = ClassForwardIrpSynchronous(commonExtension, Irp);