diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 19:06:49 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-06-03 19:06:50 +0200 |
commit | 227069d77f90aa7965d4cd5ab4f4a5302194fc73 (patch) | |
tree | 779bd3000f74b3415290bb6532b5edb4c9cca8c5 /updater | |
parent | Merge "Log update outputs in order" (diff) | |
parent | Fix build: fprintf without modifier (diff) | |
download | android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar.gz android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar.bz2 android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar.lz android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar.xz android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.tar.zst android_bootable_recovery-227069d77f90aa7965d4cd5ab4f4a5302194fc73.zip |
Diffstat (limited to '')
-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)) |