am 3ed20cff: am 028d216c: am 227069d7: Merge "Fix build: fprintf without modifier"

* commit '3ed20cffa685e4f89cdfdf71cd19058aa4137a08':
  Fix build: fprintf without modifier
This commit is contained in:
Tao Bao
2015-06-03 19:23:26 +00:00
committed by Android Git Automerger
+1 -2
View File
@@ -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))