From 81291a0fce2fb46f466676c1fd023af09c5ebbd7 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 8 Sep 2016 01:46:52 +0000 Subject: [PATCH] Correctly escape %. Found be an MSVC warning; I filed PR30320 for adding a similar warning to clang. llvm-svn: 280900 --- compiler-rt/lib/profile/InstrProfilingFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index fab479d..2c1ca95 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/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(); -- 2.7.4