Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/uvm/uvm_mmap.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/uvm/uvm_mmap.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.74 retrieving revision 1.75 diff -u -p -r1.74 -r1.75 --- src/sys/uvm/uvm_mmap.c 2003/06/29 22:32:51 1.74 +++ src/sys/uvm/uvm_mmap.c 2003/07/06 16:19:18 1.75 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_mmap.c,v 1.74 2003/06/29 22:32:51 fvdl Exp $ */ +/* $NetBSD: uvm_mmap.c,v 1.75 2003/07/06 16:19:18 christos Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -51,7 +51,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.74 2003/06/29 22:32:51 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.75 2003/07/06 16:19:18 christos Exp $"); #include #include @@ -349,7 +349,7 @@ sys_mmap(l, v, retval) if (addr > addr + size) return (EOVERFLOW); /* no wrapping! */ - } else if (addr == NULL || !(flags & MAP_TRYFIXED)) { + } else if (addr == 0 || !(flags & MAP_TRYFIXED)) { /* * not fixed: make sure we skip over the largest