summaryrefslogtreecommitdiffstats
path: root/lbtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbtable.c')
-rw-r--r--lbtable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lbtable.c b/lbtable.c
index d65d1a0c4..bbee991e2 100644
--- a/lbtable.c
+++ b/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;