summaryrefslogtreecommitdiff
path: root/util/flashrom/lbtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/lbtable.c')
-rw-r--r--util/flashrom/lbtable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/flashrom/lbtable.c b/util/flashrom/lbtable.c
index d65d1a0c4d..bbee991e2f 100644
--- a/util/flashrom/lbtable.c
+++ b/util/flashrom/lbtable.c
@@ -161,9 +161,7 @@ int linuxbios_init(void)
low_1MB = mmap(0, 1024 * 1024, PROT_READ, MAP_SHARED, fd_mem,
0x00000000);
if (low_1MB == MAP_FAILED) {
- fprintf(stderr,
- "Can not mmap " MEM_DEV " at %08lx errno(%d):%s\n",
- 0x00000000UL, errno, strerror(errno));
+ perror("Can't mmap memory using " MEM_DEV);
exit(-2);
}
lb_table = 0;