util/cbfstool: Print types on stdout
Currently, "cbfstool -h | less" doesn't show any file types under "TYPEs:". That's because the file types are printed with print_supported_filetypes, which uses LOG, which prints to stderr. Use printf print_supported_filetypes, and thus print to stdout, to make the usage output more normal. Change-Id: I800c9205c59383b63a640bc0798a1bd9117b0f99 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/25589 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
ba91cd33b6
commit
e32cea15c8
|
@ -173,9 +173,9 @@ void print_supported_filetypes(void)
|
|||
int i, number = ARRAY_SIZE(filetypes);
|
||||
|
||||
for (i=0; i<number; i++) {
|
||||
LOG(" %s%c", filetypes[i].name, (i==(number-1))?'\n':',');
|
||||
printf(" %s%c", filetypes[i].name, (i==(number-1))?'\n':',');
|
||||
if ((i%8) == 7)
|
||||
LOG("\n");
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue