am 028d216c: am 227069d7: Merge "Fix build: fprintf without modifier"
* commit '028d216c83f80673a125d946d555d43418307c81':
Fix build: fprintf without modifier
diff --git a/updater/install.c b/updater/install.c
index da6b577..4a0e064 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -65,8 +65,7 @@
// 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))