diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 20:36:27 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-03 20:36:27 +0200 |
commit | 3ed20cffa685e4f89cdfdf71cd19058aa4137a08 (patch) | |
tree | 676453e0bbb53f6d1f9369566a5badcdfe4190e5 /updater | |
parent | am d107e6dc: am a69e608a: Merge "Log update outputs in order" (diff) | |
parent | am 227069d7: Merge "Fix build: fprintf without modifier" (diff) | |
download | android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar.gz android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar.bz2 android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar.lz android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar.xz android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.tar.zst android_bootable_recovery-3ed20cffa685e4f89cdfdf71cd19058aa4137a08.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/install.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/install.c b/updater/install.c index da6b57782..4a0e064c3 100644 --- a/updater/install.c +++ b/updater/install.c @@ -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)) |