From 7c1402f2208f3240de9f28f6ac48a24f526c430d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 23 May 2007 18:24:58 +0000 Subject: Unify mmap error messages Corresponding to flashrom svn r112 and coreboot v2 svn r2690. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer --- sharplhf00l04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sharplhf00l04.c') diff --git a/sharplhf00l04.c b/sharplhf00l04.c index fd3a714..a4d086e 100644 --- a/sharplhf00l04.c +++ b/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); } -- cgit v1.1