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

Commit 227069d7 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "Fix build: fprintf without modifier"

parents a69e608a 1eb9003b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -65,8 +65,7 @@ void uiPrint(State* state, char* buffer) {
    // The recovery will only print the contents to screen for pipe command
    // ui_print. We need to dump the contents to stderr (which has been
    // redirected to the log file) directly.
    fprintf(stderr, buffer);
    fprintf(stderr, "\n");
    fprintf(stderr, "%s", buffer);
}

__attribute__((__format__(printf, 2, 3))) __nonnull((2))