about summary refs log tree commit diff
path: root/src/normalise.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-04T07·09+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-04T07·09+0000
commitd2e963f7a39cebcc4c937f9060763386d72ce4db (patch)
treed22f9d217de7e76a12ff4ebeadc14c62192946f3 /src/normalise.cc
parentc95b4ad2906ce4076f04e0969b7080c0589a8cea (diff)
* Path locking in addToStore() and expandPath().
Diffstat (limited to 'src/normalise.cc')
-rw-r--r--src/normalise.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normalise.cc b/src/normalise.cc
index 074eda296008..3f138a53eafd 100644
--- a/src/normalise.cc
+++ b/src/normalise.cc
@@ -86,7 +86,7 @@ FSId normaliseFState(FSId id, FSIdSet pending)
 
     /* Obtain locks on all output paths.  The locks are automatically
        released when we exit this function or Nix crashes. */
-    PathLocks outputLock(pathsFromOutPaths(outPaths));
+    PathLocks outputLocks(pathsFromOutPaths(outPaths));
 
     /* Now check again whether there is a successor.  This is because
        another process may have started building in parallel.  After