about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-14T09·53+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-14T09·53+0000
commit32429142cd267196d68b6706b5d340d03c0a1dc2 (patch)
tree19c425cf697674e26b69b829afe0f8d007c62528 /src/libstore
parent20ce2642fc0052a9f70faf194cc0c31d3f88926e (diff)
* Type error in constructor call (caught by GCC 3.3, but not 3.4!).
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc
index f73e993b880e..946be5e02b7b 100644
--- a/src/libstore/store.cc
+++ b/src/libstore/store.cc
@@ -504,7 +504,7 @@ static Hash queryHash(const Transaction & txn, const Path & storePath)
     HashType ht = parseHashType(string(s, 0, colon));
     if (ht == htUnknown)
         throw Error(format("unknown hash type `%1%' in valid-path entry for `%2%'")
-            % string(0, colon) % storePath);
+            % string(s, 0, colon) % storePath);
     return parseHash(ht, string(s, colon + 1));
 }