diff --git a/reactos/ntoskrnl/config/cmapi.c b/reactos/ntoskrnl/config/cmapi.c index fce10e39b32..c3993cefc2c 100644 --- a/reactos/ntoskrnl/config/cmapi.c +++ b/reactos/ntoskrnl/config/cmapi.c @@ -1307,7 +1307,7 @@ CmDeleteKey(IN PCM_KEY_BODY KeyBody) /* Update the write time */ KeQuerySystemTime(&Parent->LastWriteTime); - KeQuerySystemTime(&Kcb->ParentKcb->KcbLastWriteTime); + Kcb->ParentKcb->KcbLastWriteTime = Parent->LastWriteTime; /* Release the cell */ HvReleaseCell(Hive, ParentCell);