aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Driver/Driver.cpp2
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.