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