Merge "Fix build: fprintf without modifier"
This commit is contained in:
+1
-2
@@ -65,8 +65,7 @@ void uiPrint(State* state, char* buffer) {
|
|||||||
// The recovery will only print the contents to screen for pipe command
|
// 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
|
// ui_print. We need to dump the contents to stderr (which has been
|
||||||
// redirected to the log file) directly.
|
// redirected to the log file) directly.
|
||||||
fprintf(stderr, buffer);
|
fprintf(stderr, "%s", buffer);
|
||||||
fprintf(stderr, "\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((__format__(printf, 2, 3))) __nonnull((2))
|
__attribute__((__format__(printf, 2, 3))) __nonnull((2))
|
||||||
|
|||||||
Reference in New Issue
Block a user