summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2013-09-06 21:29:32 (GMT)
committerNico Weber <thakis@chromium.org>2013-09-06 21:29:36 (GMT)
commitc58caad3d19bf2734281a6c056b7776486bf5487 (patch)
treeb890d8ed1770a3ec75ef35bfb518a62226cb305f /src/deps_log.cc
parent1425861e1ce64d8d21c5f701af33e302fb32ad59 (diff)
downloadNinja-c58caad3d19bf2734281a6c056b7776486bf5487.zip
Ninja-c58caad3d19bf2734281a6c056b7776486bf5487.tar.gz
Ninja-c58caad3d19bf2734281a6c056b7776486bf5487.tar.bz2
Make depslog v1->v3 message less scary.
See the comment 5 lines up for details.
Diffstat (limited to 'src/deps_log.cc')
-rw-r--r--src/deps_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index ceee68a..4f1214a 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -183,7 +183,7 @@ bool DepsLog::Load(const string& path, State* state, string* err) {
if (!valid_header || strcmp(buf, kFileSignature) != 0 ||
version != kCurrentVersion) {
if (version == 1)
- *err = "deps log potentially corrupt; rebuilding";
+ *err = "deps log version change; rebuilding";
else
*err = "bad deps log signature or version; starting over";
fclose(f);