Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a523b5b2 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android (Google) Code Review
Browse files

Merge "Get rid of warnings when compiled with -Wformat-security" into kraken

parents 4f55adc3 dd26bb3a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}