diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-08-03 09:44:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-08-03 09:44:28 +0000 |
commit | 1b7084ce1aec02cfa69028ac1b858bda84a4a4c5 (patch) | |
tree | 01300b86584819338e0a1324180bddbdb77cb892 /libc/misc | |
parent | 249336ae26bdf0ffc0e13432cced60997e7abc4e (diff) |
As Joakim Tjernlund rightly notes, I should have used PAGE_SIZE
not the hard coded value of 4096.
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |