1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Unify mmap error messages

Corresponding to flashrom svn r112 and coreboot v2 svn r2690.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
This commit is contained in:
Stefan Reinauer
2007-05-23 18:24:58 +00:00
committed by Stefan Reinauer
parent ce532975cb
commit 7c1402f220
6 changed files with 9 additions and 10 deletions

View File

@ -56,7 +56,7 @@ int probe_sst_fwhub(struct flashchip *flash)
fd_mem, (off_t) (0xFFFFFFFF - 0x400000 - size + 1));
if (registers == MAP_FAILED) {
// it's this part but we can't map it ...
perror("Error MMAP /dev/mem");
perror("Can't mmap memory using " MEM_DEV);
exit(1);
}