summaryrefslogtreecommitdiffstats
path: root/sharplhf00l04.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-05-23 18:24:58 +0000
committerStefan Reinauer <stepan@coresystems.de>2007-05-23 18:24:58 +0000
commit26209c1605e2f7920002cb20fd26ce44877f8c8b (patch)
treedff2c9bdbc5f3555b7824f5c690c9571c7cf82a8 /sharplhf00l04.c
parentc7ce1f836c5bec293774dce57d94e28868284c21 (diff)
downloadflashrom-26209c1605e2f7920002cb20fd26ce44877f8c8b.zip
flashrom-26209c1605e2f7920002cb20fd26ce44877f8c8b.tar.gz
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>
Diffstat (limited to 'sharplhf00l04.c')
-rw-r--r--sharplhf00l04.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharplhf00l04.c b/sharplhf00l04.c
index fd3a714..a4d086e 100644
--- a/sharplhf00l04.c
+++ b/sharplhf00l04.c
@@ -82,7 +82,7 @@ int probe_lhf00l04(struct flashchip *flash)
fd_mem, (off_t) (0 - 0x400000 - size));
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);
}
OpenPOWER on IntegriCloud