summaryrefslogtreecommitdiff
path: root/util/flashrom/sst_fwhub.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-05-23 18:24:58 +0000
committerStefan Reinauer <stepan@openbios.org>2007-05-23 18:24:58 +0000
commita18501dae89c0ede2a208f8f72449e2357d2c88b (patch)
treebf8ac969fd9b3f08b0d47e71988c8fa1fc138b7a /util/flashrom/sst_fwhub.c
parentf8eea5cd1c641495bdc635e61575597a82629ef8 (diff)
downloadcoreboot-a18501dae89c0ede2a208f8f72449e2357d2c88b.tar.xz
Unify mmap error messages in flashrom (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2690 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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);
}