aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 990962763..9adaac40d 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -20,7 +20,8 @@ extern char * * environ;
namespace nix {
-BaseError::BaseError(const format & f)
+BaseError::BaseError(const format & f, unsigned int status)
+ : status(status)
{
err = f.str();
}