am a523b5b2: Merge "Get rid of warnings when compiled with -Wformat-security" into kraken
This commit is contained in:
commit
fcb44c4e2f
|
@ -27,8 +27,8 @@
|
|||
#include "cutils/log.h"
|
||||
|
||||
void fatal(const char *msg) {
|
||||
fprintf(stderr, msg);
|
||||
LOG(LOG_ERROR, "logwrapper", msg);
|
||||
fprintf(stderr, "%s", msg);
|
||||
LOG(LOG_ERROR, "logwrapper", "%s", msg);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue