diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-05-09 13:49:00 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-05-10 10:01:46 +0200 |
commit | 22a03e7288129a165dc2cb866041185a06adb0e9 (patch) | |
tree | f7c06e4716c8c0df2c800582368a2195fa8e8c7f /compiler/main/SysTools.hs | |
parent | 8e72a2eee29543f8a663256f6b8cf4422692cb3a (diff) | |
download | haskell-22a03e7288129a165dc2cb866041185a06adb0e9.tar.gz |
Typos [ci skip]
Diffstat (limited to 'compiler/main/SysTools.hs')
-rw-r--r-- | compiler/main/SysTools.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs index ad2e33c85c..612206bc5d 100644 --- a/compiler/main/SysTools.hs +++ b/compiler/main/SysTools.hs @@ -1508,7 +1508,7 @@ foreign import WINDOWS_CCONV unsafe "windows.h GetModuleFileNameW" -- is located at. See Trac #11759. getFinalPath :: FilePath -> IO (Maybe FilePath) getFinalPath name = do - dllHwnd <- failIfNull "LoadLibray" $ loadLibrary "kernel32.dll" + dllHwnd <- failIfNull "LoadLibrary" $ loadLibrary "kernel32.dll" -- Note: The API GetFinalPathNameByHandleW is only available starting from Windows Vista. -- This means that we can't bind directly to it since it may be missing. -- Instead try to find it's address at runtime and if we don't succeed consider the |