diff options
author | stuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-01-23 05:23:06 +0000 |
---|---|---|
committer | stuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-01-23 05:23:06 +0000 |
commit | 258f251cfae5d830cd53f7770c0204b4908156c4 (patch) | |
tree | b7417fb2e24f15ed90e8102301ff365a71852878 /cbtable.c | |
parent | 1fbb13d2b1cfdad18699da283643df29fd1742b5 (diff) | |
download | flashrom-258f251cfae5d830cd53f7770c0204b4908156c4.tar.gz |
Original v2 revision: 3890
flashrom: Check all mmap() calls and print helpful Linux error message.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@386 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'cbtable.c')
-rw-r--r-- | cbtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -191,6 +191,7 @@ int coreboot_init(void) 0x00000000); if (low_1MB == MAP_FAILED) { perror("Can't mmap memory using " MEM_DEV); + mmap_errmsg(); exit(-2); } lb_table = 0; |