diff options
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)) |