aboutsummaryrefslogtreecommitdiff
path: root/Utility/LockPool
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-05 12:32:06 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-05 12:32:06 -0400
commitbef9b79a5e4df359933cb365634bba01930f2a70 (patch)
tree3191c136930c4e9af5ac83faa05b581fb2d33e84 /Utility/LockPool
parent576f12b7790d9533b449c149ef27f85433895801 (diff)
fix windows build more
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 0ca3c8116..9f3a0b95c 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 f -> P.tryTakeLock f LockExclusive)
+ (\p f -> P.tryTakeLock p f LockExclusive)
(\f -> fmap mk <$> F.lockExclusive f)
{- If the initial lock fails, this is a BUSY wait, and does not