diff options
author | peter <peter@FreeBSD.org> | 1999-05-06 22:06:45 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-06 22:06:45 +0000 |
commit | d24746942905235972f881c982a16b15e09edc06 (patch) | |
tree | 0028581b2e367c6b6da97bb8536891f93e97cac2 /sys/vm/vm_mmap.c | |
parent | d974110a16308dd8420a5d8c9223b56fd44825ea (diff) | |
download | FreeBSD-src-d24746942905235972f881c982a16b15e09edc06.zip FreeBSD-src-d24746942905235972f881c982a16b15e09edc06.tar.gz |
Add brackets to silence egcs and help clarity.
Diffstat (limited to 'sys/vm/vm_mmap.c')
-rw-r--r-- | sys/vm/vm_mmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 950cd2a..5c5157a 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $Id: vm_mmap.c,v 1.94 1999/04/27 11:18:49 phk Exp $ + * $Id: vm_mmap.c,v 1.95 1999/05/06 00:46:19 luoqi Exp $ */ /* @@ -229,8 +229,8 @@ mmap(p, uap) * location. */ else if (addr == 0 || - addr >= round_page((vm_offset_t)p->p_vmspace->vm_taddr) && - addr < round_page((vm_offset_t)p->p_vmspace->vm_daddr + MAXDSIZ)) + (addr >= round_page((vm_offset_t)p->p_vmspace->vm_taddr) && + addr < round_page((vm_offset_t)p->p_vmspace->vm_daddr + MAXDSIZ))) addr = round_page((vm_offset_t)p->p_vmspace->vm_daddr + MAXDSIZ); if (flags & MAP_ANON) { |