forked from OSchip/llvm-project
Don't escape %s in printf usage message; it's not written by printf.
llvm-svn: 170413
This commit is contained in:
parent
a5024fc3e1
commit
54fc2370f9
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue