diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 9c53243..d97f085 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -756,7 +756,7 @@ init_alloc_aligned(vm_size_t size, vm_offset_t *addrp) unsigned long long start = map->BaseAddr; unsigned long long end = start + map->Length;; - if (start <= addr && avail_next < end) + if (start <= addr && avail_next <= end) { /* Ok, fits in the current map */ current = map; |