fastboot: Use stderr to communicate status messages

Use stderr to communicate status messages from fastboot boot, rather
than stdout.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Bjorn Andersson
2018-11-30 11:04:56 -08:00
parent fcfb7ad05f
commit 193c195c2a

View File

@@ -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;
}