about summary refs log tree commit diff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-05T01·31+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-05T01·31+0000
commit29cf434a35d82529f56c085c9cd50858c148d086 (patch)
treeed6df2ab56312989b4e8e50ba5b246b9d5641396 /src/libutil/util.cc
parent8623256f483f77e090e689ae332165a530a489a5 (diff)
* The determination of the root set should be made by the privileged
  process, so forward the operation.
* Spam the user about GC misconfigurations (NIX-71).
* findRoots: skip all roots that are unreadable - the warnings with
  which we spam the user should be enough.

Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 08385e5d96..ae5fe821e7 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -35,6 +35,7 @@ Error & Error::addPrefix(const format & f)
 
 SysError::SysError(const format & f)
     : Error(format("%1%: %2%") % f.str() % strerror(errno))
+    , errNo(errno)
 {
 }