From 193c195c2aef6a26cb028e6cb2ca02d3a69ccf42 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Fri, 30 Nov 2018 11:04:56 -0800 Subject: [PATCH] fastboot: Use stderr to communicate status messages Use stderr to communicate status messages from fastboot boot, rather than stdout. Signed-off-by: Bjorn Andersson --- fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastboot.c b/fastboot.c index ba6dba9..d332897 100644 --- a/fastboot.c +++ b/fastboot.c @@ -407,7 +407,7 @@ int fastboot_boot(struct fastboot *fb) n = fastboot_read(fb, buf, sizeof(buf)); if (n >= 0) - printf("%s\n", buf); + fprintf(stderr, "%s\n", buf); return 0; }