summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index cd58a05ee7f..0bc5ca43bc3 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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;
}
}
OpenPOWER on IntegriCloud