summaryrefslogtreecommitdiff
path: root/ldso/ldso/ldso.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-11 19:13:26 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-11 19:13:26 +0000
commit21da42ed9484a71756f5848d0f15dabbee3c6f41 (patch)
tree1caff794bdb8caafa87127b5a405b901ae36994b /ldso/ldso/ldso.c
parent590a83132e870c4aabb185b9086452cee8ca50ea (diff)
As noticed by the sharp eyed Joakim Tjernlund, I stupidly
hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot.
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r--ldso/ldso/ldso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index bd1e3cb30..97d1c27db 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -115,7 +115,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, struct elf_resolve *app_tpnt
_dl_mmap_zero = mmap_zero;
/* Store the page size for later use */
- _dl_pagesize = (auxvt[AT_PAGESZ].a_un.a_val)? auxvt[AT_PAGESZ].a_un.a_val : 4096;
+ _dl_pagesize = (auxvt[AT_PAGESZ].a_un.a_val)? auxvt[AT_PAGESZ].a_un.a_val : PAGE_SIZE;
/* Now we have done the mandatory linking of some things. We are now
* free to start using global variables, since these things have all been