diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-04-14 16:32:59 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-04-14 16:32:59 +0000 |
commit | f1291cfdfc6db3922b8aa4672b5511104671788a (patch) | |
tree | e4eff2616d14562b79a2ff562486590a8db6dd67 /util/flashrom/layout.c | |
parent | 0594222eceb5ba642edf813373dd7c979520fcd3 (diff) |
Exit on return code of read_layout and print error message to stderr
instead of stdout (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2610 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/layout.c')
-rw-r--r-- | util/flashrom/layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/flashrom/layout.c b/util/flashrom/layout.c index 5478782f42..8ba2e4153e 100644 --- a/util/flashrom/layout.c +++ b/util/flashrom/layout.c @@ -106,7 +106,8 @@ int read_romlayout(char *name) romlayout=fopen (name, "r"); if(!romlayout) { - printf("Error while opening rom layout (%s).\n", name); + fprintf(stderr, "ERROR: Could not open rom layout (%s).\n", + name); return -1; } |