diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-05T01·31+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-05T01·31+0000 |
commit | 29cf434a35d82529f56c085c9cd50858c148d086 (patch) | |
tree | ed6df2ab56312989b4e8e50ba5b246b9d5641396 /src/libutil | |
parent | 8623256f483f77e090e689ae332165a530a489a5 (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')
-rw-r--r-- | src/libutil/types.hh | 1 | ||||
-rw-r--r-- | src/libutil/util.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/types.hh b/src/libutil/types.hh index 257871a82b35..513aae0392bc 100644 --- a/src/libutil/types.hh +++ b/src/libutil/types.hh @@ -34,6 +34,7 @@ public: class SysError : public Error { public: + int errNo; SysError(const format & f); }; diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 08385e5d96e0..ae5fe821e78b 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) { } |