[SETUP] Silence some noisy DPRINT1

This commit is contained in:
Pierre Schweitzer 2019-01-01 09:57:26 +01:00
parent 3fc3447f3e
commit 0150bb964a
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
4 changed files with 11 additions and 8 deletions

View file

@ -1048,7 +1048,10 @@ RegCleanupRegistry(
Status = DisconnectRegistry(NULL,
RegistryHives[i].HiveRegistryPath,
1 /* REG_FORCE_UNLOAD */);
DPRINT1("Unmounting '%S' %s\n", RegistryHives[i].HiveRegistryPath, NT_SUCCESS(Status) ? "succeeded" : "failed");
if (!NT_SUCCESS(Status))
{
DPRINT1("Unmounting '%S' failed\n", RegistryHives[i].HiveRegistryPath);
}
/* Switch the hive state to 'Update' */
RegistryHives[i].State = Update;