summaryrefslogtreecommitdiff
path: root/Utility/LockPool
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-03 13:08:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-03 13:08:47 -0400
commita717e1cc45f7a35b6b53787205f6e92bd0d01779 (patch)
tree2d9bcd7c1d7da44e25636697d1d5835cc8892ccf /Utility/LockPool
parentc5b4886408d724d79bde850c245a824e7486b9c3 (diff)
fix windows build
Diffstat (limited to 'Utility/LockPool')
-rw-r--r--Utility/LockPool/Windows.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LockPool/Windows.hs b/Utility/LockPool/Windows.hs
index 9001b313f..0ca3c8116 100644
--- a/Utility/LockPool/Windows.hs
+++ b/Utility/LockPool/Windows.hs
@@ -34,7 +34,7 @@ lockShared file = tryMakeLockHandle P.lockPool file
- content, a separate LockFile should be used. -}
lockExclusive :: LockFile -> IO (Maybe LockHandle)
lockExclusive file = tryMakeLockHandle P.lockPool file
- (\p -> P.tryTakeLock f LockExclusive)
+ (\p f -> P.tryTakeLock f LockExclusive)
(\f -> fmap mk <$> F.lockExclusive f)
{- If the initial lock fails, this is a BUSY wait, and does not