From a18501dae89c0ede2a208f8f72449e2357d2c88b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 23 May 2007 18:24:58 +0000 Subject: Unify mmap error messages in flashrom (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2690 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/sst49lfxxxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/flashrom/sst49lfxxxc.c') 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; -- cgit v1.2.3