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_map.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/uvm/uvm_map.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.30 retrieving revision 1.31 diff -u -p -r1.30 -r1.31 --- src/sys/uvm/uvm_map.h 2001/09/09 19:38:23 1.30 +++ src/sys/uvm/uvm_map.h 2001/10/03 13:32:23 1.31 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.h,v 1.30 2001/09/09 19:38:23 chs Exp $ */ +/* $NetBSD: uvm_map.h,v 1.31 2001/10/03 13:32:23 christos Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -395,8 +395,8 @@ vm_map_lock(map) #ifdef DIAGNOSTIC #define vm_map_lock_read(map) \ do { \ - if (map->flags & VM_MAP_INTRSAFE) \ - panic("vm_map_lock_read: intrsafe map"); \ + if ((map)->flags & VM_MAP_INTRSAFE) \ + panic("vm_map_lock_read: intrsafe Map"); \ (void) lockmgr(&(map)->lock, LK_SHARED, NULL); \ } while (0) #else