diff options
author | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-04-14 16:32:59 +0000 |
---|---|---|
committer | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-04-14 16:32:59 +0000 |
commit | 94e57c50db6dbec9f95101c164e5eb61450b7983 (patch) | |
tree | f2ef244e3641ca25f81b8c0eda533601eef075ec /layout.c | |
parent | 51d8cc7faab2ec8e70db2d3dfcc4b10c6516b312 (diff) | |
download | flashrom-94e57c50db6dbec9f95101c164e5eb61450b7983.tar.gz |
Original v2 revision: 2610
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: https://code.coreboot.org/svn/flashrom/trunk@104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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; } |