Don't escape %s in printf usage message; it's not written by printf.

llvm-svn: 170413
This commit is contained in:
Richard Smith 2012-12-18 05:49:49 +00:00
parent a5024fc3e1
commit 54fc2370f9
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ static int AppendPointer(char **buff, const char *buff_end, u64 ptr_value) {
int VSNPrintf(char *buff, int buff_length,
const char *format, va_list args) {
static const char *kPrintfFormatsHelp =
"Supported Printf formats: %%(0[0-9]*)?(z|ll)?{d,u,x}; %%p; %%s; %%c\n";
"Supported Printf formats: %(0[0-9]*)?(z|ll)?{d,u,x}; %p; %s; %c\n";
RAW_CHECK(format);
RAW_CHECK(buff_length > 0);
const char *buff_end = &buff[buff_length - 1];