mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
- Fix the check for too many devices
svn path=/trunk/; revision=37121
This commit is contained in:
parent
4ed7116ff9
commit
518ef62225
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue