mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +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)
|
if (Status == STATUS_NO_SUCH_DEVICE)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i > 9999)
|
if (i == 9999)
|
||||||
{
|
{
|
||||||
DPRINT1("Too much legacy devices reported for service '%wZ'\n", &LocalServiceName);
|
DPRINT1("Too much legacy devices reported for service '%wZ'\n", &LocalServiceName);
|
||||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue