about summary refs log tree commit diff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-12-13T21·04+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-12-13T21·04+0000
commitab5c6bb3a3deef29c6fe0a86017d35bc4f3de506 (patch)
treeb20966a04ab787ba4787c4f98800fcadbf1b1781 /src/libstore/gc.cc
parentd87549c1c7bb6f85ff0a019b33b315ace0013e6b (diff)
* Change `referer' to `referrer' throughout. In particular, the
  nix-store query options `--referer' and `--referer-closure' have
  been changed to `--referrer' and `--referrer-closure' (but the old
  ones are still accepted for compatibility).

Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 634c610263b0..bdaf2946ca58 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -401,8 +401,8 @@ void collectGarbage(GCAction action, PathSet & result)
     for (Paths::iterator i = storePaths.begin(); i != storePaths.end(); ++i)
         storePaths2.insert(canonPath(nixStore + "/" + *i));
 
-    /* Topologically sort them under the `referers' relation.  That
-       is, a < b iff a is in referers(b).  This gives us the order in
+    /* Topologically sort them under the `referrers' relation.  That
+       is, a < b iff a is in referrers(b).  This gives us the order in
        which things can be deleted safely. */
     /* !!! when we have multiple output paths per derivation, this
        will not work anymore because we get cycles. */