From 1b7084ce1aec02cfa69028ac1b858bda84a4a4c5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 3 Aug 2004 09:44:28 +0000 Subject: As Joakim Tjernlund rightly notes, I should have used PAGE_SIZE not the hard coded value of 4096. --- libc/misc/internals/__uClibc_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index f74e35625..a1bb460c6 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -139,9 +139,9 @@ __uClibc_start_main(int argc, char **argv, char **envp, } aux_dat += 2; } - _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; #else - _dl_pagesize = 4096; + _dl_pagesize = PAGE_SIZE; #endif /* If we are dynamically linked the shared lib loader already -- cgit v1.2.3