summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-06-26 08:24:18 +0000
committerkib <kib@FreeBSD.org>2014-06-26 08:24:18 +0000
commit5d64734c2ecedc6258eaf16aaa03e252f968dab8 (patch)
tree7abbfa43cab10c4059d1a19b9232a36df0228e34 /sys/vm/vm_map.c
parenta8966aac9eaea59cf8e4df012b9f1a56441f271e (diff)
downloadFreeBSD-src-5d64734c2ecedc6258eaf16aaa03e252f968dab8.zip
FreeBSD-src-5d64734c2ecedc6258eaf16aaa03e252f968dab8.tar.gz
MFC r267766:
Use correct names for the flags.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 28a139d..1cc125b 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1210,7 +1210,7 @@ charged:
}
else if ((prev_entry != &map->header) &&
(prev_entry->eflags == protoeflags) &&
- (cow & (MAP_ENTRY_GROWS_DOWN | MAP_ENTRY_GROWS_UP)) == 0 &&
+ (cow & (MAP_STACK_GROWS_DOWN | MAP_STACK_GROWS_UP)) == 0 &&
(prev_entry->end == start) &&
(prev_entry->wired_count == 0) &&
(prev_entry->cred == cred ||
OpenPOWER on IntegriCloud