mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- Fix the check for too many devices
svn path=/trunk/; revision=37121
This commit is contained in:
@@ -162,7 +162,7 @@ PnpRootCreateDevice(
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user