summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingFile.c
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-09-08 01:46:52 +0000
committerNico Weber <nicolasweber@gmx.de>2016-09-08 01:46:52 +0000
commit5ec37e12abddc261dcf1a7902095bc9794fcaa3e (patch)
tree061f093458e33aa61b0778092179b19fe832e949 /lib/profile/InstrProfilingFile.c
parent4753c5bdd181bb7152d0dbdb203036310542dfdb (diff)
Correctly escape %.
Found be an MSVC warning; I filed PR30320 for adding a similar warning to clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@280900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingFile.c')
-rw-r--r--lib/profile/InstrProfilingFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingFile.c b/lib/profile/InstrProfilingFile.c
index fab479d3c..2c1ca9568 100644
--- a/lib/profile/InstrProfilingFile.c
+++ b/lib/profile/InstrProfilingFile.c
@@ -558,7 +558,7 @@ COMPILER_RT_VISIBILITY
int __llvm_profile_dump(void) {
if (!doMerging())
PROF_WARN("Later invocation of __llvm_profile_dump can lead to clobbering "
- " of previously dumped profile data : %s. Either use \%m "
+ " of previously dumped profile data : %s. Either use %%m "
"in profile name or change profile name before dumping.\n",
"online profile merging is not on");
int rc = __llvm_profile_write_file();