summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 10:52:15 +0000
committerphk <phk@FreeBSD.org>2002-10-16 10:52:15 +0000
commit9209c78c364b1e90265469a2e053470b3561e262 (patch)
tree79678aa4aca6ee85483ffdc1843644ebb487fef1 /sys/vm
parent3020db6f585e28df15b7a83c8a9da078106b85a0 (diff)
downloadFreeBSD-src-9209c78c364b1e90265469a2e053470b3561e262.zip
FreeBSD-src-9209c78c364b1e90265469a2e053470b3561e262.tar.gz
Properly put macro args in ().
Spotted by: FlexeLint.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index f28271d..265cac0 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1107,8 +1107,8 @@ _vm_map_clip_start(vm_map_t map, vm_map_entry_t entry, vm_offset_t start)
*/
#define vm_map_clip_end(map, entry, endaddr) \
{ \
- if (endaddr < entry->end) \
- _vm_map_clip_end(map, entry, endaddr); \
+ if ((endaddr) < (entry->end)) \
+ _vm_map_clip_end((map), (entry), (endaddr)); \
}
/*
OpenPOWER on IntegriCloud