--- acpidump/acpidump.c 2006-10-26 11:19:19.000000000 -0400 +++ acpidump/acpidump.c 2010-10-13 19:19:30.000000000 -0400 @@ -86,7 +86,7 @@ exit(1); } offset = where % psz; - there = mmap(NULL, length + offset, PROT_READ, MAP_PRIVATE, + there = mmap(NULL, length + offset, PROT_READ, MAP_SHARED, fd, where - offset); close(fd); if (there == MAP_FAILED) return 0; --- include/acpi/platform/acenv.h 2005-11-11 12:07:04.000000000 -0500 +++ include/acpi/platform/acenv.h 2010-10-13 19:00:56.000000000 -0400 @@ -135,7 +135,7 @@ #include "acdos16.h" #elif defined(__FreeBSD__) -#include "acfreebsd.h" +#include "aclinux.h" #elif defined(__NetBSD__) #include "acnetbsd.h"