From 3a48424552543f7fdb8de4f9c96507be7fdc50ad Mon Sep 17 00:00:00 2001 From: kib Date: Fri, 5 Apr 2019 16:12:35 +0000 Subject: [PATCH] Fix mis-merge. Amusingly, it is nop. Noted by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week X-MFC-rev: r345702 --- sys/vm/vm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index b799b517e49a..694a36ceecce 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -1835,7 +1835,7 @@ vm_map_find(vm_map_t map, vm_object_t object, vm_ooffset_t offset, *addr = vm_map_findspace(map, curr_min_addr, length + gap * pagesizes[pidx]); if (*addr + length + gap * pagesizes[pidx] > -+ vm_map_max(map)) + vm_map_max(map)) goto again; /* And randomize the start address. */ *addr += (arc4random() % gap) * pagesizes[pidx];