mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOSKRNL]
Improve some DPRINTs svn path=/trunk/; revision=62276
This commit is contained in:
parent
9b07458c4d
commit
d996e6a34d
1 changed files with 4 additions and 2 deletions
|
@ -340,7 +340,8 @@ IopLoadServiceModule(
|
||||||
Status = IopOpenRegistryKeyEx(&CCSKey, NULL, &CCSName, KEY_READ);
|
Status = IopOpenRegistryKeyEx(&CCSKey, NULL, &CCSName, KEY_READ);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("ZwOpenKey() failed with Status %08X\n", Status);
|
DPRINT1("IopOpenRegistryKeyEx() failed for '%wZ' with Status %08X\n",
|
||||||
|
&CCSName, Status);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,7 +349,8 @@ IopLoadServiceModule(
|
||||||
Status = IopOpenRegistryKeyEx(&ServiceKey, CCSKey, ServiceName, KEY_READ);
|
Status = IopOpenRegistryKeyEx(&ServiceKey, CCSKey, ServiceName, KEY_READ);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("ZwOpenKey() failed with Status %08X\n", Status);
|
DPRINT1("IopOpenRegistryKeyEx() failed for '%wZ' with Status %08X\n",
|
||||||
|
ServiceName, Status);
|
||||||
ZwClose(CCSKey);
|
ZwClose(CCSKey);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue