diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-04-14 16:32:59 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@coresystems.de> | 2007-04-14 16:32:59 +0000 |
commit | 08991cf55e104474c9a751820cafacaca52aa29b (patch) | |
tree | f2ef244e3641ca25f81b8c0eda533601eef075ec /layout.c | |
parent | 87235b65205eccac25ea645cd87dd5a0f3d0eefc (diff) | |
download | flashrom-08991cf55e104474c9a751820cafacaca52aa29b.zip flashrom-08991cf55e104474c9a751820cafacaca52aa29b.tar.gz |
Exit on return code of read_layout and print error message to stderr instead of stdout
Corresponding to flashrom svn r104 and coreboot v2 svn r2610.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |