diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-26 02:29:02 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-26 02:29:02 +0200 |
commit | 4e3c631b709d178c7df1634f401f087dcd604071 (patch) | |
tree | b05b897cf57825686e7d2bffaee12db359ce0894 /monitor_mm.c | |
parent | UnixWare tip is no longer needed. (diff) | |
download | openssh-4e3c631b709d178c7df1634f401f087dcd604071.tar.xz openssh-4e3c631b709d178c7df1634f401f087dcd604071.zip |
- (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_mm.c b/monitor_mm.c index ab4d5c957..c363036e6 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) |