summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/brand/lx/lx_brand/common/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/brand/lx/lx_brand/common/mem.c b/usr/src/lib/brand/lx/lx_brand/common/mem.c
index 98810cdbc2..c84a07d76d 100644
--- a/usr/src/lib/brand/lx/lx_brand/common/mem.c
+++ b/usr/src/lib/brand/lx/lx_brand/common/mem.c
@@ -21,7 +21,7 @@
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2015 Joyent, Inc.
+ * Copyright 2016 Joyent, Inc.
*/
#include <errno.h>
@@ -544,7 +544,7 @@ lx_remap_anon(prmap_t *map, prmap_t *maps, int nmap,
* and our hint.
*/
for (i = 0; i < nmap; i++) {
- if (maps[i].pr_vaddr < (uintptr_t)(1 << 3UL))
+ if (maps[i].pr_vaddr < (uintptr_t)(1 << 31UL))
continue;
hint = (void *)(maps[i].pr_vaddr - (new_size << 4UL));