https://git.reactos.org/?p=reactos.git;a=commitdiff;h=29c061e4990b824a68795b7b21d32121a8af73ab

commit 29c061e4990b824a68795b7b21d32121a8af73ab
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit:     Stanislav Motylkov <[email protected]>
CommitDate: Sun Apr 11 09:30:28 2021 +0300

    [UNIATA] DriverEntry(): Fix 'Paramaters' typo, in reg key names
    
    CORE-17524
---
 drivers/storage/ide/uniata/id_ata.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/storage/ide/uniata/id_ata.cpp 
b/drivers/storage/ide/uniata/id_ata.cpp
index 01f21741e96..141cd87f39c 100644
--- a/drivers/storage/ide/uniata/id_ata.cpp
+++ b/drivers/storage/ide/uniata/id_ata.cpp
@@ -10754,11 +10754,19 @@ DriverEntry(
     }
 
     if(WinVer_Id() >= WinVer_2k) {
+#ifndef __REACTOS__
         if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", 
L"1", 0)) {
+#else
+        if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", 
L"1", 0)) {
+#endif
             KdPrint(("UniATA: Behave as WDM, mlia (1)\n"));
             WinVer_WDM_Model = TRUE;
         }
+#ifndef __REACTOS__
         if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", 
L"5", 0)) {
+#else
+        if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", 
L"5", 0)) {
+#endif
             KdPrint(("UniATA: Behave as WDM, mlia (5)\n"));
             WinVer_WDM_Model = TRUE;
         }

Reply via email to