diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-11-30 11:21:05 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-11-30 21:32:02 +0100 |
commit | 0a9775941df33c73a58001484c7455eda830fa02 (patch) | |
tree | 81ead3f7e6371609a038e6784f1b04381bc7e4d3 /util/cbfstool/cbfstool.c | |
parent | 7f934f5ee00978634c72740c2d1e997f2ac72e7f (diff) |
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 <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1955
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbfstool/cbfstool.c')
-rw-r--r-- | util/cbfstool/cbfstool.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |