diff options
author | Mike Stump <mrs@apple.com> | 2009-03-18 15:19:35 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-03-18 15:19:35 +0000 |
commit | e70295b5c99c29e5792649b87d8455dfef209ac8 (patch) | |
tree | 4a567378a2ddef00e7b501e57ffdd7ed87ab8188 /lib/Driver/Driver.cpp | |
parent | 862a2c55c45ffcb0fa3dfa6b8d3dee8d30e305cf (diff) |
Fix URL trimming for version information.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index fd2ff48138..d539070d5d 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -219,7 +219,7 @@ void Driver::PrintVersion() const { zap = strstr(buf, "/clang/tools/clang"); if (zap) *zap = 0; - const char *vers = buf+10; + const char *vers = buf+6; // FIXME: The following handlers should use a callback mechanism, we // don't know what the client would like to do. |