summaryrefslogtreecommitdiff
path: root/monitor_mm.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-26 00:29:02 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-26 00:29:02 +0000
commit4e3c631b709d178c7df1634f401f087dcd604071 (patch)
treeb05b897cf57825686e7d2bffaee12db359ce0894 /monitor_mm.c
parente04ee923d950f76132fa137f5e33ff42b94126be (diff)
downloadopenssh-git-4e3c631b709d178c7df1634f401f087dcd604071.tar.gz
- (bal) fixed NeXTStep missing munmap() issue. It defines HAVE_MMAP,
but it all damned lies.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r--monitor_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_mm.c b/monitor_mm.c
index ab4d5c95..c363036e 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -130,12 +130,12 @@ mm_destroy(struct mm_master *mm)
mm_freelist(mm->mmalloc, &mm->rb_free);
mm_freelist(mm->mmalloc, &mm->rb_allocated);
-#ifdef HAVE_MMAP
+#ifdef HAVE_MMAP_ANON_SHARED
if (munmap(mm->address, mm->size) == -1)
fatal("munmap(%p, %lu): %s", mm->address, (u_long)mm->size,
strerror(errno));
#else
- fatal("%s: UsePrivilegeSeparation=yes not supported",
+ fatal("%s: UsePrivilegeSeparation=yes and Compression=yes not supported",
__func__);
#endif
if (mm->mmalloc == NULL)