commit | fc97e9fe856287b19e118d6f18e15f66e73ff7d4 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon May 17 14:59:16 2010 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon May 17 14:59:16 2010 -0700 |
tree | c6c75b530fb63bb14738b9547c7272c5aeb755cc | |
parent | 7a0e42ad86065674a46527f58662a125d9a18338 [diff] [blame] |
Get rid of warnings when compiled with -Wformat-security Change-Id: I7d66001ed1d73f116e9d112e021e6b2da22f4349
diff --git a/bcc.cpp b/bcc.cpp index 38eafff..db8b343 100644 --- a/bcc.cpp +++ b/bcc.cpp
@@ -373,7 +373,7 @@ static void LLVMErrorHandler(void *UserData, const std::string &Message) { std::string* Error = static_cast<std::string*>(UserData); Error->assign(Message); - LOGE(Message.c_str()); + LOGE("%s", Message.c_str()); return; //fprintf(stderr, "%s\n", Message.c_str()); //exit(1);