diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-23 05:23:06 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-23 05:23:06 +0000 |
commit | ccf8c6c79444108b45ed82d96b18cbdb6a8d2cff (patch) | |
tree | b7417fb2e24f15ed90e8102301ff365a71852878 /cbtable.c | |
parent | 72c9668b9535bfe40d3e321faa26cfe5bb9a44b3 (diff) | |
download | flashrom-ccf8c6c79444108b45ed82d96b18cbdb6a8d2cff.tar.gz flashrom-ccf8c6c79444108b45ed82d96b18cbdb6a8d2cff.tar.bz2 flashrom-ccf8c6c79444108b45ed82d96b18cbdb6a8d2cff.zip |
Check all mmap() calls and print helpful Linux error message
Corresponding to flashrom svn r386 and coreboot v2 svn r3890.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
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; |