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:
parent
4e68deef80
commit
a41abb4594
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue