lib: avb: change the output memssage I/O
Since the stderr is not used in uboot, use printf to print the message. Change-Id: Ib522609e783acf8f407e2f9fb3805b553c543cba Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
parent
2291ec7c6f
commit
4454e90b43
|
|
@ -61,7 +61,7 @@ void avb_abort(void) {
|
|||
}
|
||||
|
||||
void avb_print(const char* message) {
|
||||
fprintf(stderr, "%s", message);
|
||||
printf("%s", message);
|
||||
}
|
||||
|
||||
void avb_printv(const char* message, ...) {
|
||||
|
|
@ -70,7 +70,7 @@ void avb_printv(const char* message, ...) {
|
|||
|
||||
va_start(ap, message);
|
||||
for (m = message; m != NULL; m = va_arg(ap, const char*)) {
|
||||
fprintf(stderr, "%s", m);
|
||||
printf("%s", m);
|
||||
}
|
||||
va_end(ap);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue