aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index cd58a05ee7..0bc5ca43bc 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1089,7 +1089,7 @@ public:
const char* ErrStr;
bool DFG = CreateDependencyFileGen(PP, OutputFile, InFile, ErrStr);
if (!DFG && ErrStr) {
- fprintf(stderr, ErrStr);
+ fprintf(stderr, "%s", ErrStr);
return NULL;
}
}