From e32cea15c8534faa817f32cd3dd9ae89e44f6d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Sun, 8 Apr 2018 15:05:09 +0200 Subject: util/cbfstool: Print types on stdout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/25589 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/cbfstool/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c index 5a47c2f45b..72ff745f1d 100644 --- a/util/cbfstool/common.c +++ b/util/cbfstool/common.c @@ -173,9 +173,9 @@ void print_supported_filetypes(void) int i, number = ARRAY_SIZE(filetypes); for (i=0; i