X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fconfig%2Fcmlazy.c;h=8093c61bd5acb1f59917c22ab0e988e8e47a5962;hp=0b19924216ae12b0e568898cbd01ede1edde6bd9;hb=2ed65d15557489e8e9ee7ca0cfd8901cdf5f8efd;hpb=e2cb7b50b45e67575bcb44971425b3090e7a56f6 diff --git a/ntoskrnl/config/cmlazy.c b/ntoskrnl/config/cmlazy.c index 0b19924216a..8093c61bd5a 100644 --- a/ntoskrnl/config/cmlazy.c +++ b/ntoskrnl/config/cmlazy.c @@ -262,8 +262,9 @@ CmpCmdInit(IN BOOLEAN SetupBoot) /* Testing: Force Lazy Flushing */ CmpHoldLazyFlush = FALSE; - /* Setup the hive list */ - CmpInitializeHiveList(SetupBoot); + /* Setup the hive list if this is not a Setup boot */ + if (!SetupBoot) + CmpInitializeHiveList(); } NTSTATUS