fix probable format bug in DerivationGoal::buildDone

Either the contents of `line` could cause format errors, or this usage
is Technically safe. However, I trust nothing, especially with
boost::format.

Change-Id: I07933b20bde3b305a6e5d61c2a7bab6ecb042ad9
This commit is contained in:
Qyriad 2024-04-10 21:27:39 -06:00
parent 4e68deef80
commit a41abb4594

View file

@ -1009,7 +1009,7 @@ void DerivationGoal::buildDone()
if (diskFull) if (diskFull)
msg += "\nnote: build failure may have been caused by lack of free disk space"; 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 /* Compute the FS closure of the outputs and register them as