diff --git a/cabal-install/src/Distribution/Client/Win32SelfUpgrade.hs b/cabal-install/src/Distribution/Client/Win32SelfUpgrade.hs index 0d9a9effe5946139a11c3a4be4a57c0dd53a185e..c220d9e92741c33a4e84194e5f267346257ad145 100644 --- a/cabal-install/src/Distribution/Client/Win32SelfUpgrade.hs +++ b/cabal-install/src/Distribution/Client/Win32SelfUpgrade.hs @@ -140,7 +140,7 @@ deleteOldExeFile verbosity oldPID tmpPath = do ++ show oldPID ++ " at path " ++ tmpPath log $ "getting handle of parent process " ++ show oldPID - oldPHANDLE <- Win32.openProcess Win32.sYNCHORNIZE False (fromIntegral oldPID) + oldPHANDLE <- Win32.openProcess Win32.sYNCHRONIZE False (fromIntegral oldPID) log $ "synchronising with parent" event <- openEvent syncEventName