am 227069d7: Merge "Fix build: fprintf without modifier"
* commit '227069d77f90aa7965d4cd5ab4f4a5302194fc73':
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))