From 0a9775941df33c73a58001484c7455eda830fa02 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 30 Nov 2012 11:21:05 -0800 Subject: cbfstool: Clean up messages The output of cbfstool is a little inconsistent in some places. This patch fixes it. Change-Id: Ieb643cb769ebfa2a307bd286ae2c46f75ac5e1c1 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1955 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbfstool/cbfstool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/cbfstool/cbfstool.c') diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c index a09e75b1f1..10b29de113 100644 --- a/util/cbfstool/cbfstool.c +++ b/util/cbfstool/cbfstool.c @@ -247,7 +247,7 @@ static int cbfs_add_flat_binary(void) } if (rom_entrypoint == 0) { - fprintf(stderr, "You need to specify a valid " + fprintf(stderr, "E: You need to specify a valid " "-e/--entry-point.\n"); return 1; } @@ -258,7 +258,7 @@ static int cbfs_add_flat_binary(void) rom = loadrom(cbfs_name); if (rom == NULL) { - fprintf(stderr, "Could not load ROM image '%s'.\n", + fprintf(stderr, "E: Could not load ROM image '%s'.\n", cbfs_name); return 1; } @@ -364,12 +364,12 @@ static int cbfs_remove(void) static int cbfs_create(void) { if (rom_size == 0) { - printf("You need to specify a valid -s/--size.\n"); + fprintf(stderr, "E: You need to specify a valid -s/--size.\n"); return 1; } if (!rom_bootblock) { - printf("You need to specify -b/--bootblock.\n"); + fprintf(stderr, "E: You need to specify -b/--bootblock.\n"); return 1; } -- cgit v1.2.3