summaryrefslogtreecommitdiff
path: root/util/flashrom/sst49lfxxxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/sst49lfxxxc.c')
-rw-r--r--util/flashrom/sst49lfxxxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/sst49lfxxxc.c b/util/flashrom/sst49lfxxxc.c
index efa2a6108d..b8f4b844e3 100644
--- a/util/flashrom/sst49lfxxxc.c
+++ b/util/flashrom/sst49lfxxxc.c
@@ -154,7 +154,7 @@ int probe_49lfxxxc(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);
}
flash->virtual_registers = registers;