summaryrefslogtreecommitdiff
path: root/util/flashrom/sharplhf00l04.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/sharplhf00l04.c')
-rw-r--r--util/flashrom/sharplhf00l04.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/sharplhf00l04.c b/util/flashrom/sharplhf00l04.c
index fd3a714202..a4d086e1ea 100644
--- a/util/flashrom/sharplhf00l04.c
+++ b/util/flashrom/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);
}