diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 09:49:02 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 19:02:26 -0800 |
commit | f43603fbd68ffbbff81bc8653aa547a8acc7cc46 (patch) | |
tree | 0bc37bba63f412879018ffbc84f17cff3d30e472 /updater | |
parent | 60ae120f7d94c6b3c526c9dd7e7e638ad5d9b6f6 (diff) | |
download | bootable_recovery-f43603fbd68ffbbff81bc8653aa547a8acc7cc46.zip bootable_recovery-f43603fbd68ffbbff81bc8653aa547a8acc7cc46.tar.gz bootable_recovery-f43603fbd68ffbbff81bc8653aa547a8acc7cc46.tar.bz2 |
Fix build: fprintf without modifier
Change-Id: I66ae21a25a25fa3c70837bc54a7d406182d4cf37
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 da31975..29644fb 100644 --- a/updater/install.c +++ b/updater/install.c @@ -62,8 +62,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)) |