diff options
author | Richard Geary <richardg.work@gmail.com> | 2012-09-14 09:02:06 (GMT) |
---|---|---|
committer | Richard Geary <richardg.work@gmail.com> | 2012-11-09 13:04:24 (GMT) |
commit | c302134756b7afdf1fb7f2375d2d4597d311b03e (patch) | |
tree | ea762bd7bc970db60eeaae1ac40e980c6435c92d /src | |
parent | 7ef52dcf45cea23044a53ea273b4a18899eddcda (diff) | |
download | Ninja-c302134756b7afdf1fb7f2375d2d4597d311b03e.zip Ninja-c302134756b7afdf1fb7f2375d2d4597d311b03e.tar.gz Ninja-c302134756b7afdf1fb7f2375d2d4597d311b03e.tar.bz2 |
Improved error message with more information
Change-Id: Idb1ce67a320a9819de262d83b498ee10eb362ed2
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc index 0feb99d..4b2900f 100644 --- a/src/util.cc +++ b/src/util.cc @@ -155,7 +155,7 @@ bool CanonicalizePath(char* path, size_t* len, string* err) { } if (component_count == kMaxPathComponents) - Fatal("path has too many components"); + Fatal("path has too many components : %s", path); components[component_count] = dst; ++component_count; |