diff options
author | kib <kib@FreeBSD.org> | 2017-07-12 07:00:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2017-07-12 07:00:56 +0000 |
commit | f3cd495d4f1708e5c7c5767a05ff0b913d69d8ae (patch) | |
tree | 3aca85df95d9bea5c0e1654fca7846c4addd36bf | |
parent | e96f1f21705f062630bc060d61b3ffbcb61f2aa0 (diff) | |
download | FreeBSD-src-f3cd495d4f1708e5c7c5767a05ff0b913d69d8ae.zip FreeBSD-src-f3cd495d4f1708e5c7c5767a05ff0b913d69d8ae.tar.gz |
MFC r320843 MFS r320903:
Fix loop termination in vm_map_find_min().
Approved by: re (delphij)
-rw-r--r-- | sys/vm/vm_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index b5e81c5..5dc76d1 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -1571,7 +1571,7 @@ vm_map_find_min(vm_map_t map, vm_object_t object, vm_ooffset_t offset, find_space, prot, max, cow); if (rv == KERN_SUCCESS || min_addr >= hint) return (rv); - *addr = min_addr; + *addr = hint = min_addr; } } |