Author: cgutman
Date: Fri Oct 31 18:59:49 2008
New Revision: 37121
URL:
http://svn.reactos.org/svn/reactos?rev=37121&view=rev
Log:
- Fix the check for too many devices
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnproot…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] Fri Oct 31 18:59:49 2008
@@ -162,7 +162,7 @@
if (Status == STATUS_NO_SUCH_DEVICE)
break;
}
- if (i > 9999)
+ if (i == 9999)
{
DPRINT1("Too much legacy devices reported for service '%wZ'\n",
&LocalServiceName);
Status = STATUS_INSUFFICIENT_RESOURCES;