]> andersk Git - gssapi-openssh.git/blobdiff - openssh/monitor_mm.c
shouldn't have been committed to OPENSSH_PORTABLE_DIST branch
[gssapi-openssh.git] / openssh / monitor_mm.c
index e57c87cc2a0c9150bf87f78477fcc4a6d36d2fe2..b0ec37cff93aca9fd014aeb6ab8a44cc04a39b9a 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: monitor_mm.c,v 1.8 2002/08/02 14:43:15 millert Exp $");
+RCSID("$OpenBSD: monitor_mm.c,v 1.9 2004/05/11 19:01:43 deraadt Exp $");
 
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
@@ -92,7 +92,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
        mm->mmalloc = mmalloc;
 
        address = xmmap(size);
-       if (address == MAP_FAILED)
+       if (address == (void *)MAP_FAILED)
                fatal("mmap(%lu): %s", (u_long)size, strerror(errno));
 
        mm->address = address;
This page took 0.0351320000000001 seconds and 4 git commands to generate.