aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/derivation-goal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r--src/libstore/build/derivation-goal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index f879a580e..faebd3c43 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -1009,7 +1009,7 @@ void DerivationGoal::buildDone()
if (diskFull)
msg += "\nnote: build failure may have been caused by lack of free disk space";
- throw BuildError(msg);
+ throw BuildError("%s", msg);
}
/* Compute the FS closure of the outputs and register them as